From 8c2563e64a1d9790f7a2c0e03abe5ca46e88a65d Mon Sep 17 00:00:00 2001 From: morikuni Date: Wed, 28 Aug 2024 13:29:28 +0900 Subject: [PATCH] Fix SyntaxError: invalid syntax (#1013) --- 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):