Fix exception when comfyui is not repo

This commit is contained in:
filtered 2024-12-06 17:02:18 +11:00
parent 8458fdd026
commit 5dff3c915b

View File

@ -53,8 +53,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