mirror of
https://github.com/Comfy-Org/ComfyUI-Manager.git
synced 2025-12-16 18:02:58 +08:00
fix: try fixing'dubious repository' again
This commit is contained in:
parent
acb42cadd8
commit
7ff0e66979
@ -20,7 +20,7 @@ import nodes
|
|||||||
import torch
|
import torch
|
||||||
|
|
||||||
|
|
||||||
version = [1, 13, 4]
|
version = [1, 13, 5]
|
||||||
version_str = f"V{version[0]}.{version[1]}" + (f'.{version[2]}' if len(version) > 2 else '')
|
version_str = f"V{version[0]}.{version[1]}" + (f'.{version[2]}' if len(version) > 2 else '')
|
||||||
print(f"### Loading: ComfyUI-Manager ({version_str})")
|
print(f"### Loading: ComfyUI-Manager ({version_str})")
|
||||||
|
|
||||||
@ -309,6 +309,9 @@ def __win_check_git_update(path, do_fetch=False, do_update=False):
|
|||||||
print(f"[ComfyUI-Manager] Try fixing 'dubious repository' error on '{path}' repo")
|
print(f"[ComfyUI-Manager] Try fixing 'dubious repository' error on '{path}' repo")
|
||||||
process = subprocess.Popen(['git', 'config', '--global', '--add', 'safe.directory', path], stdout=subprocess.PIPE, stderr=subprocess.PIPE)
|
process = subprocess.Popen(['git', 'config', '--global', '--add', 'safe.directory', path], stdout=subprocess.PIPE, stderr=subprocess.PIPE)
|
||||||
output, _ = process.communicate()
|
output, _ = process.communicate()
|
||||||
|
|
||||||
|
process = subprocess.Popen(command, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
|
||||||
|
output, _ = process.communicate()
|
||||||
output = output.decode('utf-8').strip()
|
output = output.decode('utf-8').strip()
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
print(f'[ComfyUI-Manager] failed to fixing')
|
print(f'[ComfyUI-Manager] failed to fixing')
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user