diff --git a/glob/manager_core.py b/glob/manager_core.py index 752375b6..90cc1568 100644 --- a/glob/manager_core.py +++ b/glob/manager_core.py @@ -42,7 +42,7 @@ import manager_downloader from node_package import InstalledNodePackage -version_code = [3, 17, 9] +version_code = [3, 17, 10] version_str = f"V{version_code[0]}.{version_code[1]}" + (f'.{version_code[2]}' if len(version_code) > 2 else '') diff --git a/glob/manager_server.py b/glob/manager_server.py index 36d219b2..f47a2a6f 100644 --- a/glob/manager_server.py +++ b/glob/manager_server.py @@ -96,7 +96,7 @@ async def get_risky_level(files, pip_packages): all_urls = set() for x in json_data1['custom_nodes'] + json_data2['custom_nodes']: - all_urls.update(x['files']) + all_urls.update(x.get('files', [])) for x in files: if x not in all_urls: @@ -104,8 +104,7 @@ async def get_risky_level(files, pip_packages): all_pip_packages = set() for x in json_data1['custom_nodes'] + json_data2['custom_nodes']: - if "pip" in x: - all_pip_packages.update(x['pip']) + all_pip_packages.update(x.get('pip', [])) for p in pip_packages: if p not in all_pip_packages: diff --git a/pyproject.toml b/pyproject.toml index 38776119..ebd029da 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.17.9" +version = "3.17.10" license = { file = "LICENSE.txt" } dependencies = ["GitPython", "PyGithub", "matrix-client==0.4.0", "transformers", "huggingface-hub>0.20", "typer", "rich", "typing-extensions"]