Browse Source

improve: collapse deprecation message

pull/516/head
Dr.Lt.Data 8 months ago
parent
commit
bae144d36c
  1. 2
      __init__.py
  2. 2
      prestartup_script.py

2
__init__.py

@ -29,7 +29,7 @@ except:
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 '')
print(f"### Loading: ComfyUI-Manager ({version_str})")

2
prestartup_script.py

@ -19,7 +19,7 @@ cm_global.pip_downgrade_blacklist = ['torch', 'torchsde', 'torchvision', 'transf
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]

Loading…
Cancel
Save