From e1477707d26958244f1d96cda5db4abeff9ba945 Mon Sep 17 00:00:00 2001 From: morikuni Date: Wed, 28 Aug 2024 11:40:47 +0900 Subject: [PATCH] Fix SyntaxError: invalid syntax --- cm-cli.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cm-cli.py b/cm-cli.py index 61b29833..cb0e7c98 100644 --- a/cm-cli.py +++ b/cm-cli.py @@ -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):