diff --git a/gh_org_mgr/_gh_org.py b/gh_org_mgr/_gh_org.py index b243042..59c37d7 100644 --- a/gh_org_mgr/_gh_org.py +++ b/gh_org_mgr/_gh_org.py @@ -115,7 +115,7 @@ def login( def ratelimit(self): """Print current rate limit""" - core = self.gh.get_rate_limit().core + core = self.gh.get_rate_limit().resources.core logging.info( "Current rate limit: %s/%s (reset: %s)", core.remaining, core.limit, core.reset )