mirror of
https://github.com/xtekky/gpt4free.git
synced 2024-11-17 09:25:50 +00:00
Fix error in copilot
This commit is contained in:
parent
7e63b412b6
commit
d9386946cf
@ -31,7 +31,7 @@ def get_pr_details(github: Github) -> PullRequest:
|
|||||||
PullRequest: An object representing the pull request.
|
PullRequest: An object representing the pull request.
|
||||||
"""
|
"""
|
||||||
with open('./pr_number', 'r') as file:
|
with open('./pr_number', 'r') as file:
|
||||||
pr_number = int(file.read())
|
pr_number = int(file.read().strip())
|
||||||
if not pr_number:
|
if not pr_number:
|
||||||
return
|
return
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user