mypy
This commit is contained in:
parent
12848938e0
commit
f390bc8798
1 changed files with 1 additions and 1 deletions
|
|
@ -28,6 +28,6 @@ async def wait_for_paid_invoices():
|
||||||
|
|
||||||
|
|
||||||
async def on_invoice_paid(payment: Payment) -> None:
|
async def on_invoice_paid(payment: Payment) -> None:
|
||||||
if not payment.extra.get("tag") == "cashu":
|
if payment.extra and not payment.extra.get("tag") == "cashu":
|
||||||
return
|
return
|
||||||
return
|
return
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue