Merge branch 'main' into improve/api-installed

This commit is contained in:
Dr.Lt.Data
2025-01-06 22:28:23 +09:00
2 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -1571,9 +1571,9 @@ def switch_to_default_branch(repo):
repo.git.checkout(repo.heads.master)
except:
try:
repo.git.checkout(repo.heads.main)
repo.git.checkout('-b', 'master', 'origin/master')
except:
print("[ComfyUI Manager] Failed to switch to the default branch (master or main)")
print("[ComfyUI Manager] Failed to switch to the default branch")
def try_install_script(url, repo_path, install_cmd, instant_execution=False):