Commit 437e19ac authored by Aaron Hill's avatar Aaron Hill
Browse files

Don't pass self to API methods

parent 605a9113
......@@ -195,7 +195,7 @@ class API(object):
'place_id', 'display_coordinates'
)(self, *args, **kwargs)
)(*args, **kwargs)
def destroy_status(self):
......@@ -553,7 +553,7 @@ class API(object):
allowed_param=['include_entities', 'skip_status'],
)(self, **kargs)
except TweepError as e:
if e.response and e.response.status == 401:
return False
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