Skip to content

Commit f28b51b

Browse files
authored
fix #267
1 parent f56533f commit f28b51b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

librespot/core.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2281,7 +2281,7 @@ def __init__(self, obj):
22812281
def expired(self) -> bool:
22822282
""" """
22832283
return self.timestamp + (self.expires_in - TokenProvider.
2284-
token_expire_threshold) * 1000 < int(
2284+
token_expire_threshold) * 1000 * 1000 < int(
22852285
time.time_ns() / 1000)
22862286

22872287
def has_scope(self, scope: str) -> bool:

0 commit comments

Comments
 (0)