E203, E221

This commit is contained in:
dni ⚡
2023-04-17 08:16:59 +02:00
parent 4a72a5b6b3
commit 1ac9d2572d
6 changed files with 6 additions and 10 deletions
+1 -1
View File
@@ -109,7 +109,7 @@ async def m002_add_fields_to_apipayments(db):
for ext in ["withdraw", "events", "lnticket", "paywall", "tpos"]:
prefix = f"#{ext} "
if row["memo"].startswith(prefix):
new = row["memo"][len(prefix) :]
new = row["memo"][len(prefix):]
await db.execute(
"""
UPDATE apipayments SET extra = ?, memo = ?