From b114672e03fe7916363fef856e28e847ac819781 Mon Sep 17 00:00:00 2001 From: "Dr.Lt.Data" Date: Fri, 10 Jan 2025 00:38:32 +0900 Subject: [PATCH] fixed: error when `remote` mode is selected https://github.com/ltdrdata/ComfyUI-Manager/issues/1413 --- glob/manager_core.py | 2 +- js/comfyui-manager.js | 2 +- pyproject.toml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/glob/manager_core.py b/glob/manager_core.py index e84ca38c..1ff608e9 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, 5] +version_code = [3, 5, 1] version_str = f"V{version_code[0]}.{version_code[1]}" + (f'.{version_code[2]}' if len(version_code) > 2 else '') diff --git a/js/comfyui-manager.js b/js/comfyui-manager.js index 0fd3f90c..a574a4f1 100644 --- a/js/comfyui-manager.js +++ b/js/comfyui-manager.js @@ -963,7 +963,7 @@ class ManagerMenuDialog extends ComfyDialog { this.datasrc_combo.className = "cm-menu-combo"; this.datasrc_combo.appendChild($el('option', { value: 'cache', text: 'DB: Channel (1day cache)' }, [])); this.datasrc_combo.appendChild($el('option', { value: 'local', text: 'DB: Local' }, [])); - this.datasrc_combo.appendChild($el('option', { value: 'url', text: 'DB: Channel (remote)' }, [])); + this.datasrc_combo.appendChild($el('option', { value: 'remote', text: 'DB: Channel (remote)' }, [])); // preview method let preview_combo = document.createElement("select"); diff --git a/pyproject.toml b/pyproject.toml index 0ecd4199..4c8fefe3 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.5" +version = "3.5.1" license = { file = "LICENSE.txt" } dependencies = ["GitPython", "PyGithub", "matrix-client==0.4.0", "transformers", "huggingface-hub>0.20", "typer", "rich", "typing-extensions"]