mirror of
https://github.com/Mayuri-Chan/pyrofork.git
synced 2026-01-03 05:54:51 +00:00
Merge pull request #48 from eyMarv/patch-1
Fix execute() missing "await"
This commit is contained in:
commit
e74e54cef0
1 changed files with 1 additions and 1 deletions
|
|
@ -180,7 +180,7 @@ class SQLiteStorage(Storage):
|
||||||
r = await q.fetchone()
|
r = await q.fetchone()
|
||||||
|
|
||||||
if r is None:
|
if r is None:
|
||||||
r2 = self.conn.execute(
|
r2 = await self.conn.execute(
|
||||||
"SELECT peer_id, last_update_on FROM usernames WHERE id = ?"
|
"SELECT peer_id, last_update_on FROM usernames WHERE id = ?"
|
||||||
"ORDER BY last_update_on DESC",
|
"ORDER BY last_update_on DESC",
|
||||||
(username,)
|
(username,)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue