diff --git a/glob/manager_core.py b/glob/manager_core.py index 25aa026d..c39bbbb4 100644 --- a/glob/manager_core.py +++ b/glob/manager_core.py @@ -23,7 +23,7 @@ sys.path.append(glob_path) import cm_global from manager_util import * -version = [2, 44] +version = [2, 44, 1] version_str = f"V{version[0]}.{version[1]}" + (f'.{version[2]}' if len(version) > 2 else '') diff --git a/prestartup_script.py b/prestartup_script.py index bfc31c04..856d4e6d 100644 --- a/prestartup_script.py +++ b/prestartup_script.py @@ -62,7 +62,7 @@ check_file_logging() comfy_path = os.environ.get('COMFYUI_PATH') if comfy_path is None: - comfy_path = os.path.abspath(sys.modules['__main__'].__file__) + comfy_path = os.path.abspath(os.path.dirname(sys.modules['__main__'].__file__)) sys.__comfyui_manager_register_message_collapse = register_message_collapse sys.__comfyui_manager_is_import_failed_extension = is_import_failed_extension diff --git a/pyproject.toml b/pyproject.toml index 18e4bbdf..5e95eaf4 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.44" +version = "2.44.1" license = "LICENSE" dependencies = ["GitPython", "PyGithub", "matrix-client==0.4.0", "transformers", "huggingface-hub>0.20", "typer", "rich", "typing-extensions"]