Update update.py

This commit is contained in:
comfyanonymous 2025-05-03 00:27:13 -04:00 committed by GitHub
parent 5e338c038f
commit 7a7fd3f592
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -66,7 +66,7 @@ if branch is None:
try:
ref = repo.lookup_reference('refs/remotes/origin/master')
except:
print("pulling.")
print("pulling.") # noqa: T201
pull(repo)
ref = repo.lookup_reference('refs/remotes/origin/master')
repo.checkout(ref)