Skip to content

Commit 643af3c

Browse files
committed
issuebot: fix type
1 parent d05b124 commit 643af3c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

issuebot

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ def git_push() -> None:
4242
subprocess.check_output(['git', 'push'], cwd=REPO)
4343
break
4444
except subprocess.CalledProcessError as e:
45-
if 'non-fast-forward' in e.output or 'fetch first' in e.output:
45+
if b'non-fast-forward' in e.output or b'fetch first' in e.output:
4646
subprocess.check_call(["git", "pull", "--rebase"])
4747
else:
4848
sys.stdout.write(e.output)

0 commit comments

Comments
 (0)