mirror of
https://github.com/xtekky/gpt4free.git
synced 2024-11-19 03:25:32 +00:00
Cast pr number
This commit is contained in:
parent
f5ab6f8531
commit
04ec265ba0
@ -32,7 +32,7 @@ def get_pr_details(github: Github) -> PullRequest:
|
|||||||
"""
|
"""
|
||||||
'./pr_number'
|
'./pr_number'
|
||||||
with open('./pr_number', 'r') as file:
|
with open('./pr_number', 'r') as file:
|
||||||
pr_number = file.read()
|
pr_number = int(file.read())
|
||||||
if not pr_number:
|
if not pr_number:
|
||||||
return
|
return
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user