From fd283bbcc9282817fdb9be2f5327dd5c2239ac0b Mon Sep 17 00:00:00 2001 From: "Dr.Lt.Data" Date: Tue, 9 Jul 2024 23:14:25 +0900 Subject: [PATCH] fix: failing backward compatibility due to invalid logger code https://github.com/ltdrdata/ComfyUI-Manager/issues/848 --- 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 aa5b0b6a..d9db7782 100644 --- a/glob/manager_core.py +++ b/glob/manager_core.py @@ -23,7 +23,7 @@ import cm_global from manager_util import * -version = [2, 46, 1] +version = [2, 46, 2] version_str = f"V{version[0]}.{version[1]}" + (f'.{version[2]}' if len(version) > 2 else '') diff --git a/js/comfyui-manager.js b/js/comfyui-manager.js index e22acdd1..ee825bde 100644 --- a/js/comfyui-manager.js +++ b/js/comfyui-manager.js @@ -1361,7 +1361,7 @@ app.registerExtension({ app.menu?.settingsGroup.element.before(cmGroup.element); } catch(exception) { - log.console('ComfyUI is outdated. New style menu based features are disabled.'); + console.log('ComfyUI is outdated. New style menu based features are disabled.'); } // old style Manager button diff --git a/pyproject.toml b/pyproject.toml index 96695703..fbb0be02 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 = "2.46.1" +version = "2.46.2" license = "LICENSE" dependencies = ["GitPython", "PyGithub", "matrix-client==0.4.0", "transformers", "huggingface-hub>0.20", "typer", "rich", "typing-extensions"]