Commit bc18d0c0 authored by Clay McClure's avatar Clay McClure Committed by Joshua Roesslein
Browse files

Propagate connection failure exceptions up through verify_credentials

parent 59f6634a
......@@ -299,8 +299,10 @@ class API(object):
payload_type = 'user',
require_auth = True
except TweepError:
return False
except TweepError, e:
if e.response and e.response.status == 401:
return False
""" account/rate_limit_status """
rate_limit_status = bind_api(
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment