mirror of
https://github.com/jrconlin/oauthsimple.git
synced 2026-07-28 04:06:51 +00:00
Corrected typo (spotted by jsarch)
This commit is contained in:
@@ -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());
|
||||
|
||||
Reference in New Issue
Block a user