various
This commit is contained in:
@ -107,7 +107,7 @@ class RandMsg(FastAPI):
|
||||
title_attr = "Donnies DB"
|
||||
|
||||
async with sqlite3.connect(database=randmsg_db_path, timeout=1) as _db:
|
||||
async with _db.execute(db_query) as _cursor:
|
||||
async with await _db.execute(db_query) as _cursor:
|
||||
result = await _cursor.fetchone()
|
||||
(result_id, result_msg) = result
|
||||
result_msg = result_msg.strip()
|
||||
|
Reference in New Issue
Block a user