Formatting fixes
This commit is contained in:
parent
27617181b1
commit
f2a535b250
1 changed files with 4 additions and 3 deletions
|
|
@ -192,9 +192,10 @@ class Twython(EndpointsMixin, object):
|
|||
# app keys/user tokens
|
||||
ExceptionType = TwythonAuthError
|
||||
|
||||
raise ExceptionType(error_message,
|
||||
error_code=response.status_code,
|
||||
retry_after=response.headers.get('X-Rate-Limit-Reset'))
|
||||
raise ExceptionType(
|
||||
error_message,
|
||||
error_code=response.status_code,
|
||||
retry_after=response.headers.get('X-Rate-Limit-Reset'))
|
||||
|
||||
try:
|
||||
content = response.json()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue