mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2024-11-10 19:46:36 +03: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(
|
||||
'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:
|
||||
return self._execute(
|
||||
'select id, hash from entities where id = ?', id)
|
||||
|
|
Loading…
Reference in New Issue
Block a user