From 87eadb4825c6aec2032e1dd85985f9da4238da5f Mon Sep 17 00:00:00 2001 From: "Dr.Lt.Data" Date: Sun, 5 Jan 2025 23:07:42 +0900 Subject: [PATCH] fixed: A bug where channels other than the default channel are not read properly. --- glob/manager_core.py | 4 ++-- pyproject.toml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/glob/manager_core.py b/glob/manager_core.py index 95060a2f..c7ef5d94 100644 --- a/glob/manager_core.py +++ b/glob/manager_core.py @@ -41,7 +41,7 @@ import manager_downloader from node_package import InstalledNodePackage -version_code = [3, 3, 11] +version_code = [3, 3, 12] version_str = f"V{version_code[0]}.{version_code[1]}" + (f'.{version_code[2]}' if len(version_code) > 2 else '') @@ -692,7 +692,7 @@ class UnifiedManager: res = {} channel_url = normalize_channel(channel) - if channel: + if channel_url: if mode not in ['remote', 'local', 'cache']: print(f"[bold red]ERROR: Invalid mode is specified `--mode {mode}`[/bold red]", file=sys.stderr) return {} diff --git a/pyproject.toml b/pyproject.toml index b6c2637e..1362fcd4 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.3.11" +version = "3.3.12" license = { file = "LICENSE.txt" } dependencies = ["GitPython", "PyGithub", "matrix-client==0.4.0", "transformers", "huggingface-hub>0.20", "typer", "rich", "typing-extensions"]