mirror of
https://github.com/status-im/PyGithub.git
synced 2026-08-31 10:51:14 +00:00
committed by
Wan Liuyang
parent
cd6d56d60a
commit
b4d895eddd
+2
-2
@@ -381,8 +381,8 @@ class Requester:
|
||||
if Consts.headerRateReset in responseHeaders:
|
||||
self.rate_limiting_resettime = int(responseHeaders[Consts.headerRateReset])
|
||||
|
||||
if "x-oauth-scopes" in responseHeaders:
|
||||
self.oauth_scopes = responseHeaders["x-oauth-scopes"].split(", ")
|
||||
if Consts.headerOAuthScopes in responseHeaders:
|
||||
self.oauth_scopes = responseHeaders[Consts.headerOAuthScopes].split(", ")
|
||||
|
||||
self.DEBUG_ON_RESPONSE(status, responseHeaders, output)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user