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
|
# app keys/user tokens
|
||||||
ExceptionType = TwythonAuthError
|
ExceptionType = TwythonAuthError
|
||||||
|
|
||||||
raise ExceptionType(error_message,
|
raise ExceptionType(
|
||||||
error_code=response.status_code,
|
error_message,
|
||||||
retry_after=response.headers.get('X-Rate-Limit-Reset'))
|
error_code=response.status_code,
|
||||||
|
retry_after=response.headers.get('X-Rate-Limit-Reset'))
|
||||||
|
|
||||||
try:
|
try:
|
||||||
content = response.json()
|
content = response.json()
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue