Update twython/twython.py
making it so that when you don't pass in header you get all of them back.
This commit is contained in:
parent
87a3b44a30
commit
dbf2a461b8
1 changed files with 1 additions and 1 deletions
|
|
@ -259,7 +259,7 @@ class Twython(object):
|
|||
raise TwythonError('This function must be called after an API call. It delivers header information.')
|
||||
if header in self._last_call['headers']:
|
||||
return self._last_call['headers'][header]
|
||||
return None
|
||||
return self._last_call
|
||||
|
||||
def get_authentication_tokens(self):
|
||||
"""Returns an authorization URL for a user to hit.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue