Skip to content

Commit 3596f3c

Browse files
committed
Fix issue with empty oauth_token
Set initial token reference to None to prevent sending empty oauth_token string on temporary token requests.
1 parent 91b3f97 commit 3596f3c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ox3apiclient.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ def __init__(self, domain, realm, consumer_key, consumer_secret,
5050
# You shouldn't need to access the oauth2 consumer and token objects
5151
# directly so we'll keep them "private".
5252
self._consumer = oauth.Consumer(self.consumer_key, self.consumer_secret)
53-
self._token = oauth.Token('', '')
53+
self._token = None
5454

5555
# Similarly you probably won't need to access the cookie jar directly,
5656
# so it is private as well.

0 commit comments

Comments
 (0)