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'
],
require_auth=True
)(self, *args, **kwargs)
)(*args, **kwargs)
@property
def destroy_status(self):
......@@ -553,7 +553,7 @@ class API(object):
payload_type='user',
require_auth=True,
allowed_param=['include_entities', 'skip_status'],
)(self, **kargs)
)(**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