BigW Consortium Gitlab

Commit 7d502864 by Ritesh Shrivastav

Use global variable to adhere encapsulation

parent 45df8f39
...@@ -59,6 +59,6 @@ class EtsyOAuthClient(oauth.Client): ...@@ -59,6 +59,6 @@ class EtsyOAuthClient(oauth.Client):
d = dict(parse_qsl(content)) d = dict(parse_qsl(content))
try: try:
return oauth.Token(d['oauth_token'], d['oauth_token_secret']) return EtsyOAuthToken(d['oauth_token'], d['oauth_token_secret'])
except KeyError: except KeyError:
return None return None
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment