mirror of
https://github.com/Comfy-Org/ComfyUI-Manager.git
synced 2025-12-19 11:23:00 +08:00
Fix SyntaxError: invalid syntax (#1013)
This commit is contained in:
parent
7d8a279a12
commit
8c2563e64a
@ -109,7 +109,7 @@ class Ctx:
|
||||
install_script_path = os.path.join(repo_path, 'install.py')
|
||||
|
||||
if os.path.exists(requirements_path):
|
||||
with (open(requirements_path, 'r', encoding="UTF-8", errors="ignore") as file):
|
||||
with open(requirements_path, 'r', encoding="UTF-8", errors="ignore") as file:
|
||||
for line in file:
|
||||
package_name = core.remap_pip_package(line.strip())
|
||||
if package_name and not core.is_installed(package_name):
|
||||
|
||||
Loading…
Reference in New Issue
Block a user