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:
Mahdi Yusuf 2013-02-05 16:18:56 -05:00
parent 87a3b44a30
commit dbf2a461b8

View file

@ -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.