fixed: crash on desktop version when displaying to print version information

This commit is contained in:
Dr.Lt.Data
2025-03-08 10:15:23 +09:00
parent eb41867e04
commit 04fa540a8c
3 changed files with 17 additions and 16 deletions

View File

@@ -43,7 +43,7 @@ import manager_downloader
from node_package import InstalledNodePackage
version_code = [3, 30, 2]
version_code = [3, 30, 3]
version_str = f"V{version_code[0]}.{version_code[1]}" + (f'.{version_code[2]}' if len(version_code) > 2 else '')
@@ -75,8 +75,8 @@ def get_custom_nodes_paths():
def get_comfyui_tag():
repo = git.Repo(comfy_path)
try:
repo = git.Repo(comfy_path)
return repo.git.describe('--tags')
except:
return None