mirror of
https://github.com/Comfy-Org/ComfyUI-Manager.git
synced 2026-02-13 22:52:31 +08:00
Fix exception when comfyui is not repo
This commit is contained in:
parent
8458fdd026
commit
5dff3c915b
@ -53,8 +53,8 @@ def get_custom_nodes_paths():
|
|||||||
|
|
||||||
|
|
||||||
def get_comfyui_tag():
|
def get_comfyui_tag():
|
||||||
repo = git.Repo(comfy_path)
|
|
||||||
try:
|
try:
|
||||||
|
repo = git.Repo(comfy_path)
|
||||||
return repo.git.describe('--tags')
|
return repo.git.describe('--tags')
|
||||||
except:
|
except:
|
||||||
return None
|
return None
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user