mirror of
https://git.datalinker.icu/comfyanonymous/ComfyUI
synced 2026-09-13 08:27:06 +08:00
fix typo in error type
This commit is contained in:
parent
fd7287fe61
commit
8b49df848f
2
main.py
2
main.py
@ -18,7 +18,7 @@ try:
|
||||
from ultralytics import __version__ as ultralytics_version
|
||||
if Version(ultralytics_version) > Version('8.3.40'):
|
||||
raise EnvironmentError("[SECURITY ALERT] Unsafe malicious versions of Ultralytics detected, last known good version 8.3.40.")
|
||||
except ModuleNotFound:
|
||||
except ModuleNotFoundError:
|
||||
pass
|
||||
except Exception:
|
||||
raise
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user