The most powerful and modular diffusion model GUI, api and backend with a graph/nodes interface. The fastest local inference engine in the world.
Handle case in the updater when master branch is not in local repo.
comfyanonymous07f6a1a685d1
diff --git a/.ci/update_windows/update.py b/.ci/update_windows/update.pyindex 127247b2f..cc79a914e 100755--- a/.ci/update_windows/update.py+++ b/.ci/update_windows/update.py@@ -62,8 +62,15 @@ except:print("checking out master branch")branch = repo.lookup_branch('master')-ref = repo.lookup_reference(branch.name)-repo.checkout(ref)+if branch is None:+ ref = repo.lookup_reference('refs/remotes/origin/master')+ repo.checkout(ref)+ branch = repo.lookup_branch('master')+ if branch is None:+ repo.create_branch('master', repo.get(ref.target))+else:+ ref = repo.lookup_reference(branch.name)+ repo.checkout(ref)print("pulling latest changes")pull(repo)