mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2025-06-19 11:36:41 +00:00
Add missing async in sqlite
This commit is contained in:
parent
7963af1d17
commit
0dff21a80f
@ -326,7 +326,7 @@ class SQLiteSession(MemorySession):
|
|||||||
return self._execute(
|
return self._execute(
|
||||||
'select id, hash from entities where name = ?', name)
|
'select id, hash from entities where name = ?', name)
|
||||||
|
|
||||||
def get_entity_rows_by_id(self, id, exact=True):
|
async def get_entity_rows_by_id(self, id, exact=True):
|
||||||
if exact:
|
if exact:
|
||||||
return self._execute(
|
return self._execute(
|
||||||
'select id, hash from entities where id = ?', id)
|
'select id, hash from entities where id = ?', id)
|
||||||
|
Loading…
Reference in New Issue
Block a user