Fix SyntaxError: invalid syntax (#1013)
This commit is contained in:
@@ -109,7 +109,7 @@ class Ctx:
|
|||||||
install_script_path = os.path.join(repo_path, 'install.py')
|
install_script_path = os.path.join(repo_path, 'install.py')
|
||||||
|
|
||||||
if os.path.exists(requirements_path):
|
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:
|
for line in file:
|
||||||
package_name = core.remap_pip_package(line.strip())
|
package_name = core.remap_pip_package(line.strip())
|
||||||
if package_name and not core.is_installed(package_name):
|
if package_name and not core.is_installed(package_name):
|
||||||
|
|||||||
Reference in New Issue
Block a user