bugfix: git_helper - invalid calling of 'exit'

This commit is contained in:
dr.lt.data 2023-07-26 10:53:14 +09:00
parent e828281869
commit a6312077a2
2 changed files with 3 additions and 3 deletions

View File

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

View File

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