Corrected typo (spotted by jsarch)

This commit is contained in:
jr conlin
2011-04-08 09:20:24 -07:00
parent 49d3cce6bb
commit d973ed7c8b
+2 -2
View File
@@ -29,7 +29,7 @@ class OAuthSimple:
def __init__(self, apiKey = None, sharedSecret = None):
if apiKey:
self._secrets['oauth_consumer_key']=apikey
self._secrets['oauth_consumer_key']=apiKey
if sharedSecret:
self._secrets['shared_secret']=sharedSecret
return ;
@@ -229,4 +229,4 @@ class OAuthSimple:
self._oauthEscape(self._path),
self._oauthEscape(normParamString)]
)
return base64.b64encode(hmac.new(secretKey,self.sbs,hashlib.sha1).digest());
return base64.b64encode(hmac.new(secretKey,self.sbs,hashlib.sha1).digest());