increase readability by using f-strings (#1597)

* increase readability by using f-strings

* readd merge conflict stuff

---------

Co-authored-by: calle <93376500+callebtc@users.noreply.github.com>
This commit is contained in:
Pavol Rusnak
2023-04-03 15:34:17 +02:00
committed by GitHub
co-authored by calle
parent 58c3b05e29
commit 689c443d72
9 changed files with 33 additions and 57 deletions
+2 -2
View File
@@ -369,7 +369,7 @@ async def manifest(usr: str):
"sizes": "900x900",
}
],
"start_url": "/wallet?usr=" + usr + "&wal=" + user.wallets[0].id,
"start_url": f"/wallet?usr={usr}&wal={user.wallets[0].id}",
"background_color": "#1F2234",
"description": "Bitcoin Lightning Wallet",
"display": "standalone",
@@ -380,7 +380,7 @@ async def manifest(usr: str):
"name": wallet.name,
"short_name": wallet.name,
"description": wallet.name,
"url": "/wallet?usr=" + usr + "&wal=" + wallet.id,
"url": f"/wallet?usr={usr}&wal={wallet.id}",
}
for wallet in user.wallets
],