Fix execute() missing "await"

This commit is contained in:
Marvin 2024-02-29 22:30:42 +01:00 committed by GitHub
parent dee698fc45
commit a6a5f179cc
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

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