Explicitly call load store
This commit is contained in:
parent
d4b9e808e4
commit
195aeff39e
1 changed files with 1 additions and 0 deletions
|
|
@ -472,6 +472,7 @@ async def main():
|
|||
client.access_token = creds["access_token"]
|
||||
client.user_id = creds["user_id"]
|
||||
client.device_id = creds["device_id"]
|
||||
client.load_store()
|
||||
session_restored = True
|
||||
except (json.JSONDecodeError, KeyError) as e:
|
||||
print(f"⚠️ Credentials file is empty or corrupted ({e}). Discarding and forcing new login...")
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue