Skip to content

Commit fb80c7a

Browse files
authored
test: Update main.py
1 parent 986dcb9 commit fb80c7a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

main.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
import sys
44
import subprocess
55
import re
6-
from github import Github
6+
from github import Github, GithubRetry()
77

88

99
# Constants for message titles
@@ -105,7 +105,7 @@ def add_pr_comments() -> int:
105105

106106
# Initialize GitHub client
107107
# g = Github(token)
108-
g = Github(token, retry=github.GithubRetry())
108+
g = Github(token, retry=GithubRetry())
109109
repo = g.get_repo(repo_name)
110110
pull_request = repo.get_issue(int(pr_number))
111111

0 commit comments

Comments
 (0)