aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rwxr-xr-xdev/tools/github-check-prs.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/dev/tools/github-check-prs.py b/dev/tools/github-check-prs.py
index 74325d3ee..7c9043e63 100755
--- a/dev/tools/github-check-prs.py
+++ b/dev/tools/github-check-prs.py
@@ -14,7 +14,7 @@ parser.add_argument("--token-file", type=argparse.FileType('r'))
args = parser.parse_args()
if args.token_file is None:
- token = input("Github access token: ")
+ token = input("Github access token: ").strip()
else:
token = args.token_file.read().rstrip("\n")
args.token_file.close()