From 643af3c0815e8aa1d86dd917b7df7d652f3d3f76 Mon Sep 17 00:00:00 2001 From: lilydjwg Date: Tue, 3 Dec 2024 17:38:23 +0800 Subject: [PATCH] issuebot: fix type --- issuebot | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/issuebot b/issuebot index 6df7178..56af307 100755 --- a/issuebot +++ b/issuebot @@ -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)