better error message in win

This commit is contained in:
dr.lt.data 2023-09-19 09:28:30 +09:00
parent f10cb735e5
commit 30ee2ceb0f
2 changed files with 4 additions and 1 deletions

View File

@ -55,7 +55,7 @@ sys.path.append('../..')
from torchvision.datasets.utils import download_url
# ensure .js
print("### Loading: ComfyUI-Manager (V0.28)")
print("### Loading: ComfyUI-Manager (V0.28.1)")
comfy_ui_required_revision = 1240
comfy_ui_revision = "Unknown"
@ -253,6 +253,7 @@ def __win_check_git_update(path, do_fetch=False, do_update=False):
process.wait()
return True
else:
print(f"{output}")
process.wait()
return False
else:
@ -260,6 +261,7 @@ def __win_check_git_update(path, do_fetch=False, do_update=False):
process.wait()
return True
else:
print(f"{output}")
process.wait()
return False

View File

@ -56,6 +56,7 @@ def gitpull(path):
repo.git.submodule('update', '--init', '--recursive')
print("CUSTOM NODE PULL: True")
except Exception as e:
print(e)
print("CUSTOM NODE PULL: False")
repo.close()