diff --git a/cm-cli.py b/cm-cli.py index f92b1d22..d9b1d63c 100644 --- a/cm-cli.py +++ b/cm-cli.py @@ -31,7 +31,9 @@ if comfy_path is None: except: print("\n[bold yellow]WARN: The `COMFYUI_PATH` environment variable is not set. Assuming `custom_nodes/ComfyUI-Manager/../../` as the ComfyUI path.[/bold yellow]", file=sys.stderr) comfy_path = os.path.abspath(os.path.join(manager_util.comfyui_manager_path, '..', '..')) - sys.path.append(comfy_path) + +# This should be placed here +sys.path.append(comfy_path) import utils.extra_config import cm_global diff --git a/glob/manager_core.py b/glob/manager_core.py index bd0c71d1..4d2dfa26 100644 --- a/glob/manager_core.py +++ b/glob/manager_core.py @@ -42,7 +42,7 @@ import manager_downloader from node_package import InstalledNodePackage -version_code = [3, 22, 1] +version_code = [3, 22, 2] version_str = f"V{version_code[0]}.{version_code[1]}" + (f'.{version_code[2]}' if len(version_code) > 2 else '') diff --git a/pyproject.toml b/pyproject.toml index 5a740c87..d08a2eb8 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.22.1" +version = "3.22.2" license = { file = "LICENSE.txt" } dependencies = ["GitPython", "PyGithub", "matrix-client==0.4.0", "transformers", "huggingface-hub>0.20", "typer", "rich", "typing-extensions"]