Browse Source

bugfix: git_helper - invalid calling of 'exit'

pull/33/head
dr.lt.data 1 year ago
parent
commit
a6312077a2
  1. 2
      __init__.py
  2. 4
      git_helper.py

2
__init__.py

@ -32,7 +32,7 @@ sys.path.append('../..')
from torchvision.datasets.utils import download_url from torchvision.datasets.utils import download_url
# ensure .js # ensure .js
print("### Loading: ComfyUI-Manager (V0.15)") print("### Loading: ComfyUI-Manager (V0.15.1)")
comfy_ui_revision = "Unknown" comfy_ui_revision = "Unknown"

4
git_helper.py

@ -65,8 +65,8 @@ try:
gitcheck(sys.argv[2], True) gitcheck(sys.argv[2], True)
elif sys.argv[1] == "--pull": elif sys.argv[1] == "--pull":
gitpull(sys.argv[2]) gitpull(sys.argv[2])
exit(0) sys.exit(0)
except: except:
exit(-1) sys.exit(-1)

Loading…
Cancel
Save