Fixing code (errors from tests), update HISTORY

[ci skip]
This commit is contained in:
Mike Helmick 2013-06-08 16:52:15 -04:00
parent 4debef7d84
commit f6040fe275
4 changed files with 11 additions and 22 deletions

View file

@ -59,6 +59,8 @@ class Twython(EndpointsMixin, object):
if self.access_token: # If they pass an access token, force OAuth 2
oauth_version = 2
self.oauth_version = oauth_version
# OAuth 2
if oauth_version == 2:
self.request_token_url = self.api_url % 'oauth2/token'