Skip to content

Commit 25b6247

Browse files
author
Kevin Hannegan
committed
if token processing logic
1 parent a19bea2 commit 25b6247

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

presalytics/client/api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -281,7 +281,7 @@ def __init__(
281281
self.token_util.token = {"access_token": token}
282282

283283
# if token is a dictionary with an 'access_token_expire_time' key, it's previous been processed / deserialized
284-
if token.get('access_token_expire_time', None):
284+
elif token.get('access_token_expire_time', None):
285285
self.token_util.token = token
286286

287287
# if token has an 'expires_in' key, if has not been deserialized

0 commit comments

Comments
 (0)