Skip to content

Commit 7db79aa

Browse files
authored
Merge pull request #122 from OpenRailAssociation/bump-pygithub-deps
2 parents 2387351 + a7692ce commit 7db79aa

File tree

3 files changed

+258
-358
lines changed

3 files changed

+258
-358
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)