Skip to content

Commit a7692ce

Browse files
venkatamutyalamxmehl
authored andcommitted
fix: update ratelimit references to account for latest PyGitHub library updates
1 parent 37b4b2c commit a7692ce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gh_org_mgr/_gh_org.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ def login(
115115

116116
def ratelimit(self):
117117
"""Print current rate limit"""
118-
core = self.gh.get_rate_limit().core
118+
core = self.gh.get_rate_limit().resources.core
119119
logging.info(
120120
"Current rate limit: %s/%s (reset: %s)", core.remaining, core.limit, core.reset
121121
)

0 commit comments

Comments
 (0)