Add missing async in sqlite

This commit is contained in:
Lonami Exo 2022-05-16 09:36:41 +02:00
parent 7963af1d17
commit 0dff21a80f

View File

@ -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)