fixed: datetime.datetime crash - use hasattr instead of exception handling

https://github.com/ltdrdata/ComfyUI-Manager/issues/1503
This commit is contained in:
Dr.Lt.Data
2025-02-01 11:37:53 +09:00
parent 4760deaf9c
commit 1a7edf7f0e
3 changed files with 7 additions and 7 deletions

View File

@@ -41,7 +41,7 @@ import manager_downloader
from node_package import InstalledNodePackage
version_code = [3, 12]
version_code = [3, 12, 1]
version_str = f"V{version_code[0]}.{version_code[1]}" + (f'.{version_code[2]}' if len(version_code) > 2 else '')