diff --git a/glob/manager_core.py b/glob/manager_core.py index 6557dfba..1121bd08 100644 --- a/glob/manager_core.py +++ b/glob/manager_core.py @@ -43,7 +43,7 @@ import manager_downloader from node_package import InstalledNodePackage -version_code = [3, 34, 3] +version_code = [3, 34, 4] version_str = f"V{version_code[0]}.{version_code[1]}" + (f'.{version_code[2]}' if len(version_code) > 2 else '') diff --git a/glob/security_check.py b/glob/security_check.py index cb694730..a3477b05 100644 --- a/glob/security_check.py +++ b/glob/security_check.py @@ -73,8 +73,8 @@ https://blog.comfy.org/comfyui-statement-on-the-ultralytics-crypto-miner-situati detected = set() try: anthropic_info = subprocess.check_output(manager_util.make_pip_cmd(["show", "anthropic"]), text=True, stderr=subprocess.DEVNULL) - anthropic_reqs = [x for x in anthropic_info.split('\n') if x.startswith("Requires")][0].split(': ')[1] - if "pycrypto" in anthropic_reqs: + anthropic_reqs = [x for x in anthropic_info.split('\n') if x.startswith("Requires")][0].split(': ') + if anthropic_reqs and "pycrypto" in anthropic_reqs[1]: location = [x for x in anthropic_info.split('\n') if x.startswith("Location")][0].split(': ')[1] for fi in os.listdir(location): if fi.startswith("anthropic"): diff --git a/pyproject.toml b/pyproject.toml index bdb2179b..a82542c5 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,7 +1,7 @@ [project] name = "comfyui-manager" description = "ComfyUI-Manager provides features to install and manage custom nodes for ComfyUI, as well as various functionalities to assist with ComfyUI." -version = "3.34.3" +version = "3.34.4" license = { file = "LICENSE.txt" } dependencies = ["GitPython", "PyGithub", "matrix-client==0.4.0", "transformers", "huggingface-hub>0.20", "typer", "rich", "typing-extensions", "toml", "uv", "chardet"]