mirror of
https://github.com/koush/scrypted.git
synced 2026-09-19 10:10:39 +01:00
server: fixup python requirements calc
This commit is contained in:
@@ -763,9 +763,11 @@ class PluginRemote:
|
||||
pip_target, "requirements.optional"
|
||||
)
|
||||
|
||||
need_pip = True
|
||||
need_pip = False
|
||||
# pip is needed if there's a requiremnts.txt file that has changed.
|
||||
if str_requirements:
|
||||
need_pip = need_requirements(requirements_basename, str_requirements)
|
||||
# pip is needed if the base scrypted requirements have changed.
|
||||
if not need_pip:
|
||||
need_pip = need_requirements(
|
||||
scrypted_requirements_basename, SCRYPTED_REQUIREMENTS
|
||||
|
||||
Reference in New Issue
Block a user