mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2025-09-19 18:32:47 +03:00
Save session data when migrating from JSON
This commit is contained in:
parent
7286f77008
commit
6e07cc9771
|
@ -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