Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Zahra Rajabi
tweepy
Commits
288c4e4f
Commit
288c4e4f
authored
Feb 21, 2014
by
Aaron Hill
Browse files
It's status_code, not status, in Requests
parent
431dd761
Changes
1
Hide whitespace changes
Inline
Side-by-side
tweepy/binder.py
View file @
288c4e4f
...
...
@@ -188,7 +188,7 @@ def bind_api(**config):
# If an error was returned, throw an exception
self
.
api
.
last_response
=
resp
if
resp
.
status
and
not
200
<=
resp
.
status
<
300
:
if
resp
.
status
_code
and
not
200
<=
resp
.
status
_code
<
300
:
try
:
error_msg
=
self
.
parser
.
parse_error
(
resp
.
text
)
except
Exception
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment