summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorHeiner Lohaus <hlohaus@users.noreply.github.com>2024-01-21 17:41:40 +0100
committerHeiner Lohaus <hlohaus@users.noreply.github.com>2024-01-21 17:41:40 +0100
commit04ec265ba096ac1b71820b6243a258889f5eb773 (patch)
tree5fc546b9dcddc80fbe953a201b1ca5c737cc7f16 /etc
parentNo PR number found (diff)
downloadgpt4free-04ec265ba096ac1b71820b6243a258889f5eb773.tar
gpt4free-04ec265ba096ac1b71820b6243a258889f5eb773.tar.gz
gpt4free-04ec265ba096ac1b71820b6243a258889f5eb773.tar.bz2
gpt4free-04ec265ba096ac1b71820b6243a258889f5eb773.tar.lz
gpt4free-04ec265ba096ac1b71820b6243a258889f5eb773.tar.xz
gpt4free-04ec265ba096ac1b71820b6243a258889f5eb773.tar.zst
gpt4free-04ec265ba096ac1b71820b6243a258889f5eb773.zip
Diffstat (limited to 'etc')
-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 8c63c4ea..5e24e12d 100644
--- a/etc/tool/copilot.py
+++ b/etc/tool/copilot.py
@@ -32,7 +32,7 @@ def get_pr_details(github: Github) -> PullRequest:
"""
'./pr_number'
with open('./pr_number', 'r') as file:
- pr_number = file.read()
+ pr_number = int(file.read())
if not pr_number:
return