Skip to content

Commit

Permalink
issuebot: fix type
Browse files Browse the repository at this point in the history
  • Loading branch information
lilydjwg committed Dec 3, 2024
1 parent d05b124 commit 643af3c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion issuebot
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ def git_push() -> None:
subprocess.check_output(['git', 'push'], cwd=REPO)
break
except subprocess.CalledProcessError as e:
if 'non-fast-forward' in e.output or 'fetch first' in e.output:
if b'non-fast-forward' in e.output or b'fetch first' in e.output:
subprocess.check_call(["git", "pull", "--rebase"])
else:
sys.stdout.write(e.output)
Expand Down

0 comments on commit 643af3c

Please sign in to comment.