mirror of
https://git.datalinker.icu/ltdrdata/ComfyUI-Manager
synced 2025-12-09 06:04:31 +08:00
improve: reduce pip install spam
This commit is contained in:
parent
ef24e2cee6
commit
cdc9259ee2
@ -29,7 +29,7 @@ except:
|
||||
print(f"[WARN] ComfyUI-Manager: Your ComfyUI version is outdated. Please update to the latest version.")
|
||||
|
||||
|
||||
version = [2, 8]
|
||||
version = [2, 8, 1]
|
||||
version_str = f"V{version[0]}.{version[1]}" + (f'.{version[2]}' if len(version) > 2 else '')
|
||||
print(f"### Loading: ComfyUI-Manager ({version_str})")
|
||||
|
||||
|
||||
@ -15,7 +15,11 @@ sys.path.append(glob_path)
|
||||
import cm_global
|
||||
|
||||
|
||||
message_collapses = []
|
||||
def skip_pip_spam(x):
|
||||
return 'Requirement already satisfied:' in x
|
||||
|
||||
|
||||
message_collapses = [skip_pip_spam]
|
||||
import_failed_extensions = set()
|
||||
cm_global.variables['cm.on_revision_detected_handler'] = []
|
||||
enable_file_logging = True
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user