fixed: cm-cli.py - missing 'utils' module if COMYUI_PatH is set

https://github.com/ltdrdata/ComfyUI-Manager/issues/1556
This commit is contained in:
Dr.Lt.Data 2025-02-17 07:43:35 +09:00
parent 3ddf414097
commit 2c3f44a3f8
3 changed files with 5 additions and 3 deletions

View File

@ -31,6 +31,8 @@ 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, '..', '..'))
# This should be placed here
sys.path.append(comfy_path)
import utils.extra_config

View File

@ -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 '')

View File

@ -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"]