diff options
author | Heiner Lohaus <hlohaus@users.noreply.github.com> | 2024-01-21 20:01:53 +0100 |
---|---|---|
committer | Heiner Lohaus <hlohaus@users.noreply.github.com> | 2024-01-21 20:01:53 +0100 |
commit | d9386946cffa2b92fb9d3a1a83481aaebdc18adf (patch) | |
tree | 9bd6c140656e189dede2fcda5a9ae890be87af65 /etc | |
parent | Join Phind context (diff) | |
download | gpt4free-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.py | 2 |
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 |