Browse Source

fix: invalid glob path

pull/569/head
Dr.Lt.Data 7 months ago
parent
commit
508418e924
  1. 5
      __init__.py
  2. 2
      glob/manager_core.py

5
__init__.py

@ -14,14 +14,11 @@ import re
import shutil
from datetime import datetime
# glob_path = os.path.join(os.path.dirname(__file__), "glob")
# sys.path.append(glob_path)
from server import PromptServer
from .glob import manager_core as core
import cm_global
version = [2, 18]
version = [2, 18, 1]
version_str = f"V{version[0]}.{version[1]}" + (f'.{version[2]}' if len(version) > 2 else '')
print(f"### Loading: ComfyUI-Manager ({version_str})")

2
glob/manager_core.py

@ -15,7 +15,7 @@ import threading
import json
import time
glob_path = os.path.join(os.path.dirname(__file__), "glob")
glob_path = os.path.join(os.path.dirname(__file__)) # ComfyUI-Manager/glob
sys.path.append(glob_path)
import cm_global

Loading…
Cancel
Save