Prevent #96 and #99 from happening

Signed-off-by: nathom <nathanthomas707@gmail.com>
This commit is contained in:
nathom 2021-06-24 10:17:08 -07:00
parent e6c0145a4c
commit 429e63a111

View file

@ -545,7 +545,7 @@ class TidalClient(Client):
:param token_expiry: :param token_expiry:
:param refresh_token: :param refresh_token:
""" """
if access_token is not None: if access_token:
self.token_expiry = float(token_expiry) self.token_expiry = float(token_expiry)
self.refresh_token = refresh_token self.refresh_token = refresh_token