mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2025-02-03 05:04:33 +03:00
Save session data when migrating from JSON (#570)
This commit is contained in:
parent
bf56d32118
commit
c8bbbe3e3c
|
@ -159,6 +159,7 @@ class Session:
|
|||
'insert or replace into entities values (?,?,?,?,?)',
|
||||
entities
|
||||
)
|
||||
self._update_session_table()
|
||||
c.close()
|
||||
self.save()
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user