fix: failing backward compatibility due to invalid logger code

https://github.com/ltdrdata/ComfyUI-Manager/issues/848
This commit is contained in:
Dr.Lt.Data 2024-07-09 23:14:25 +09:00
parent 312f458919
commit fd283bbcc9
3 changed files with 3 additions and 3 deletions

View File

@ -23,7 +23,7 @@ sys.path.append(glob_path)
import cm_global import cm_global
from manager_util import * 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 '') version_str = f"V{version[0]}.{version[1]}" + (f'.{version[2]}' if len(version) > 2 else '')

View File

@ -1361,7 +1361,7 @@ app.registerExtension({
app.menu?.settingsGroup.element.before(cmGroup.element); app.menu?.settingsGroup.element.before(cmGroup.element);
} }
catch(exception) { 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 // old style Manager button

View File

@ -1,7 +1,7 @@
[project] [project]
name = "comfyui-manager" 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." 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" license = "LICENSE"
dependencies = ["GitPython", "PyGithub", "matrix-client==0.4.0", "transformers", "huggingface-hub>0.20", "typer", "rich", "typing-extensions"] dependencies = ["GitPython", "PyGithub", "matrix-client==0.4.0", "transformers", "huggingface-hub>0.20", "typer", "rich", "typing-extensions"]