python code styling (#739)

This commit is contained in:
Tiago Vasconcelos
2022-07-15 19:11:11 +02:00
committed by GitHub
parent 37c7553c19
commit 348033da1b
10 changed files with 12 additions and 11 deletions
+2 -1
View File
@@ -1,5 +1,6 @@
import asyncio
import json
import httpx
from lnbits.core import db as core_db
@@ -19,7 +20,7 @@ async def wait_for_paid_invoices():
async def on_invoice_paid(payment: Payment) -> None:
if "lnurlp" != payment.extra.get("tag"):
if payment.extra.get("tag") != "lnurlp":
# not an lnurlp invoice
return