Skip to content

Commit

Permalink
fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
dni committed Sep 24, 2024
1 parent 764e419 commit 6ed68a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ async def wait_for_paid_invoices():


async def on_invoice_paid(payment: Payment) -> None:
if payment.extra.get("tag") != "lncalendar":
if not payment.extra or payment.extra.get("tag") != "lncalendar":
# not a lncalendar invoice
return

Expand Down

0 comments on commit 6ed68a5

Please sign in to comment.