mirror of
https://git.datalinker.icu/ltdrdata/ComfyUI-Manager
synced 2025-12-09 06:04:31 +08:00
improve: collapse deprecation message
This commit is contained in:
parent
f73dcddf49
commit
bae144d36c
@ -29,7 +29,7 @@ except:
|
|||||||
print(f"[WARN] ComfyUI-Manager: Your ComfyUI version is outdated. Please update to the latest version.")
|
print(f"[WARN] ComfyUI-Manager: Your ComfyUI version is outdated. Please update to the latest version.")
|
||||||
|
|
||||||
|
|
||||||
version = [2, 10, 2]
|
version = [2, 10, 3]
|
||||||
version_str = f"V{version[0]}.{version[1]}" + (f'.{version[2]}' if len(version) > 2 else '')
|
version_str = f"V{version[0]}.{version[1]}" + (f'.{version[2]}' if len(version) > 2 else '')
|
||||||
print(f"### Loading: ComfyUI-Manager ({version_str})")
|
print(f"### Loading: ComfyUI-Manager ({version_str})")
|
||||||
|
|
||||||
|
|||||||
@ -19,7 +19,7 @@ cm_global.pip_downgrade_blacklist = ['torch', 'torchsde', 'torchvision', 'transf
|
|||||||
|
|
||||||
|
|
||||||
def skip_pip_spam(x):
|
def skip_pip_spam(x):
|
||||||
return 'Requirement already satisfied:' in x
|
return ('Requirement already satisfied:' in x) or ("DEPRECATION: Loading egg at" in x)
|
||||||
|
|
||||||
|
|
||||||
message_collapses = [skip_pip_spam]
|
message_collapses = [skip_pip_spam]
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user