Skip to content
This repository has been archived by the owner on May 21, 2023. It is now read-only.

Commit

Permalink
fix: Type Error
Browse files Browse the repository at this point in the history
  • Loading branch information
zeroday0619 committed Sep 19, 2022
1 parent ff6aeba commit 80d61af
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion nso_bridge/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
__version__ = "0.1.6"
__version__ = "0.1.7"

from nso_bridge.nsa import NintendoSwitchAccount
from nso_bridge.nso import NintendoSwitchOnlineAPI
Expand Down
4 changes: 3 additions & 1 deletion nso_bridge/nso.py
Original file line number Diff line number Diff line change
Expand Up @@ -347,7 +347,9 @@ def sync_login(self):

if wasc_access_token is not None:
self.login = Login(
**pickle.loads(base64.b64decode(wasc_access_token.encode("utf-8")))
**dict(
pickle.loads(base64.b64decode(wasc_access_token.encode("utf-8")))
)
)
if time.time() - int(float(wasc_time)) > 7200:
return self.refresh_login()
Expand Down

0 comments on commit 80d61af

Please sign in to comment.