From a6312077a2e30008eb3f5cf8ca92cf8746964d8b Mon Sep 17 00:00:00 2001 From: "dr.lt.data" Date: Wed, 26 Jul 2023 10:53:14 +0900 Subject: [PATCH] bugfix: git_helper - invalid calling of 'exit' --- __init__.py | 2 +- git_helper.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/__init__.py b/__init__.py index ebf05253..55395fa8 100644 --- a/__init__.py +++ b/__init__.py @@ -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" diff --git a/git_helper.py b/git_helper.py index ba37a211..4df83e07 100644 --- a/git_helper.py +++ b/git_helper.py @@ -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)