From aaeb1d7299557b90822440ac80ba233e5aff3c38 Mon Sep 17 00:00:00 2001 From: "Dr.Lt.Data" Date: Tue, 16 Apr 2024 07:56:20 +0900 Subject: [PATCH] fix: path error from previous commit `git_helper.py` not found issue https://github.com/ltdrdata/ComfyUI-Manager/issues/566 --- __init__.py | 2 +- glob/manager_core.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/__init__.py b/__init__.py index 552c3c0..b6a250d 100644 --- a/__init__.py +++ b/__init__.py @@ -18,7 +18,7 @@ from server import PromptServer from .glob import manager_core as core import cm_global -version = [2, 18, 1] +version = [2, 18, 2] version_str = f"V{version[0]}.{version[1]}" + (f'.{version[2]}' if len(version) > 2 else '') print(f"### Loading: ComfyUI-Manager ({version_str})") diff --git a/glob/manager_core.py b/glob/manager_core.py index f8ea2ba..fef8909 100644 --- a/glob/manager_core.py +++ b/glob/manager_core.py @@ -24,9 +24,9 @@ from manager_util import * comfyui_manager_path = os.path.abspath(os.path.join(os.path.dirname(__file__), '..')) custom_nodes_path = os.path.abspath(os.path.join(comfyui_manager_path, '..')) channel_list_path = os.path.join(comfyui_manager_path, 'channels.list') -config_path = os.path.join(custom_nodes_path, "config.ini") +config_path = os.path.join(comfyui_manager_path, "config.ini") startup_script_path = os.path.join(comfyui_manager_path, "startup-scripts") -git_script_path = os.path.join(custom_nodes_path, "git_helper.py") +git_script_path = os.path.join(comfyui_manager_path, "git_helper.py") cache_dir = os.path.join(comfyui_manager_path, '.cache') cached_config = None js_path = None