summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorHeiner Lohaus <hlohaus@users.noreply.github.com>2024-01-21 20:01:53 +0100
committerHeiner Lohaus <hlohaus@users.noreply.github.com>2024-01-21 20:01:53 +0100
commitd9386946cffa2b92fb9d3a1a83481aaebdc18adf (patch)
tree9bd6c140656e189dede2fcda5a9ae890be87af65 /etc
parentJoin Phind context (diff)
downloadgpt4free-d9386946cffa2b92fb9d3a1a83481aaebdc18adf.tar
gpt4free-d9386946cffa2b92fb9d3a1a83481aaebdc18adf.tar.gz
gpt4free-d9386946cffa2b92fb9d3a1a83481aaebdc18adf.tar.bz2
gpt4free-d9386946cffa2b92fb9d3a1a83481aaebdc18adf.tar.lz
gpt4free-d9386946cffa2b92fb9d3a1a83481aaebdc18adf.tar.xz
gpt4free-d9386946cffa2b92fb9d3a1a83481aaebdc18adf.tar.zst
gpt4free-d9386946cffa2b92fb9d3a1a83481aaebdc18adf.zip
Diffstat (limited to '')
-rw-r--r--etc/tool/copilot.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/tool/copilot.py b/etc/tool/copilot.py
index 6ee1fb0d..61341bb1 100644
--- a/etc/tool/copilot.py
+++ b/etc/tool/copilot.py
@@ -31,7 +31,7 @@ def get_pr_details(github: Github) -> PullRequest:
PullRequest: An object representing the pull request.
"""
with open('./pr_number', 'r') as file:
- pr_number = int(file.read())
+ pr_number = int(file.read().strip())
if not pr_number:
return