diff options
author | 2011-10-29 02:44:47 +0200 | |
---|---|---|
committer | 2011-10-29 02:44:47 +0200 | |
commit | 87fa92f047cbbf1cc361ccd848a2dbc114227774 (patch) | |
tree | 66e14640b38d3a3d3ebf2243692d1f64db971537 /github3/api.py | |
parent | Wip on gists (diff) | |
download | python-github3-87fa92f047cbbf1cc361ccd848a2dbc114227774.tar.xz python-github3-87fa92f047cbbf1cc361ccd848a2dbc114227774.zip |
Fix typo in rate_limit
Diffstat (limited to 'github3/api.py')
-rw-r--r-- | github3/api.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/github3/api.py b/github3/api.py index d11aef6..81ae3e7 100644 --- a/github3/api.py +++ b/github3/api.py @@ -66,8 +66,8 @@ class GithubCore(object): def _requests_post_hook(self, r): """Post-processing for HTTP response objects.""" - self._ratelimit = int(r.headers.get('x-ratelimit-limit', -1)) - self._ratelimit_remaining = int(r.headers.get('x-ratelimit-remaining', -1)) + self._rate_limit = int(r.headers.get('x-ratelimit-limit', -1)) + self._rate_limit_remaining = int(r.headers.get('x-ratelimit-remaining', -1)) return r |