mirror of
https://github.com/koush/scrypted.git
synced 2026-06-20 16:40:30 +01:00
server: revert back to original change that conditionally added unzipped path
This commit is contained in:
@@ -800,7 +800,12 @@ class PluginRemote:
|
||||
print("requirements.txt (up to date)")
|
||||
print(str_requirements)
|
||||
|
||||
sys.path.insert(0, plugin_zip_paths.get("unzipped_path"))
|
||||
|
||||
# use the zip path first
|
||||
sys.path.insert(0, zipPath)
|
||||
if not debug:
|
||||
# needed for binary extensions
|
||||
sys.path.insert(0, plugin_zip_paths.get("unzipped_path"))
|
||||
sys.path.insert(0, pip_target)
|
||||
|
||||
self.systemManager = SystemManager(self.api, self.systemState)
|
||||
|
||||
Reference in New Issue
Block a user