From 860f7d367e4f695c43d7f6f82ffcf0bf31c703d7 Mon Sep 17 00:00:00 2001 From: "Dr.Lt.Data" Date: Wed, 22 Nov 2023 19:02:22 +0900 Subject: [PATCH] fix: skip comment out package --- __init__.py | 2 +- prestartup_script.py | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/__init__.py b/__init__.py index ca71fc7b..c024121a 100644 --- a/__init__.py +++ b/__init__.py @@ -14,7 +14,7 @@ import concurrent import ssl from urllib.parse import urlparse -version = "V1.2" +version = "V1.2.1" print(f"### Loading: ComfyUI-Manager ({version})") diff --git a/prestartup_script.py b/prestartup_script.py index 942d7302..94230b3d 100644 --- a/prestartup_script.py +++ b/prestartup_script.py @@ -199,6 +199,10 @@ def get_installed_packages(): def is_installed(name): name = name.strip() + + if name.startswith('#'): + return True + pattern = r'([^<>!=]+)([<>!=]=?)' match = re.search(pattern, name)