some more mypy fixes

This commit is contained in:
dni
2022-07-25 12:02:59 +02:00
parent 895770e26a
commit 808bd36e23
9 changed files with 25 additions and 16 deletions
+1 -1
View File
@@ -113,7 +113,7 @@ async def create_wallet(
async def update_wallet(
wallet_id: str, new_name: str, conn: Optional[Connection] = None
) -> Optional[Wallet]:
await (conn or db).execute(
return await (conn or db).execute(
"""
UPDATE wallets SET
name = ?