mirror of
https://github.com/Comfy-Org/ComfyUI-Manager.git
synced 2025-12-17 18:33:05 +08:00
better error message in win
This commit is contained in:
parent
f10cb735e5
commit
30ee2ceb0f
@ -55,7 +55,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.28)")
|
print("### Loading: ComfyUI-Manager (V0.28.1)")
|
||||||
|
|
||||||
comfy_ui_required_revision = 1240
|
comfy_ui_required_revision = 1240
|
||||||
comfy_ui_revision = "Unknown"
|
comfy_ui_revision = "Unknown"
|
||||||
@ -253,6 +253,7 @@ def __win_check_git_update(path, do_fetch=False, do_update=False):
|
|||||||
process.wait()
|
process.wait()
|
||||||
return True
|
return True
|
||||||
else:
|
else:
|
||||||
|
print(f"{output}")
|
||||||
process.wait()
|
process.wait()
|
||||||
return False
|
return False
|
||||||
else:
|
else:
|
||||||
@ -260,6 +261,7 @@ def __win_check_git_update(path, do_fetch=False, do_update=False):
|
|||||||
process.wait()
|
process.wait()
|
||||||
return True
|
return True
|
||||||
else:
|
else:
|
||||||
|
print(f"{output}")
|
||||||
process.wait()
|
process.wait()
|
||||||
return False
|
return False
|
||||||
|
|
||||||
|
|||||||
@ -56,6 +56,7 @@ def gitpull(path):
|
|||||||
repo.git.submodule('update', '--init', '--recursive')
|
repo.git.submodule('update', '--init', '--recursive')
|
||||||
print("CUSTOM NODE PULL: True")
|
print("CUSTOM NODE PULL: True")
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
|
print(e)
|
||||||
print("CUSTOM NODE PULL: False")
|
print("CUSTOM NODE PULL: False")
|
||||||
|
|
||||||
repo.close()
|
repo.close()
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user