mirror of
https://github.com/Mayuri-Chan/pyrofork.git
synced 2025-12-29 12:04:51 +00:00
Fix execute() missing "await"
This commit is contained in:
parent
dee698fc45
commit
a6a5f179cc
1 changed files with 1 additions and 1 deletions
|
|
@ -180,7 +180,7 @@ class SQLiteStorage(Storage):
|
|||
r = await q.fetchone()
|
||||
|
||||
if r is None:
|
||||
r2 = self.conn.execute(
|
||||
r2 = await self.conn.execute(
|
||||
"SELECT peer_id, last_update_on FROM usernames WHERE id = ?"
|
||||
"ORDER BY last_update_on DESC",
|
||||
(username,)
|
||||
|
|
|
|||
Loading…
Reference in a new issue