mirror of
https://github.com/asdlokj1qpi233/subconverter.git
synced 2026-11-02 17:52:19 +00:00
Fix update_rules checkout branch
This commit is contained in:
1 file changed
+1
-1
@@ -73,7 +73,7 @@ def main():
|
||||
r.git.checkout(commit)
|
||||
elif branch is not None:
|
||||
logging.info(f"checking out to branch {branch}")
|
||||
r.branches[branch].checkout()
|
||||
r.git.checkout(branch)
|
||||
else:
|
||||
logging.info(f"checking out to default branch")
|
||||
r.active_branch.checkout()
|
||||
|
||||
Reference in new issue
Block a user