maraujop/requests-oauth refernce added

This commit is contained in:
kracekumar 2011-12-07 08:55:22 +05:30
parent 6325b16265
commit 6a9ede9b53

View file

@ -100,6 +100,7 @@ class Twython(object):
OAuthHook.consumer_secret = self.twitter_secret
#if users pass oauth token and secret we initialize with oauth_hook
#code taken from maraujop/requests-oauth
if self.oauth_token and self.oauth_secret:
#Creating OAuthHooks
self.oauth_hook = oauth_hook.OAuthHook(self.oauth_auth_token,\