mirror of
https://github.com/pretix/pretix.git
synced 2026-05-10 16:04:02 +00:00
Fix crash in send_expiry_warnings
This commit is contained in:
@@ -1297,6 +1297,7 @@ def send_expiry_warnings(sender, **kwargs):
|
|||||||
if (
|
if (
|
||||||
lp and
|
lp and
|
||||||
lp.state in [OrderPayment.PAYMENT_STATE_CREATED, OrderPayment.PAYMENT_STATE_PENDING] and
|
lp.state in [OrderPayment.PAYMENT_STATE_CREATED, OrderPayment.PAYMENT_STATE_PENDING] and
|
||||||
|
lp.payment_provider and
|
||||||
lp.payment_provider.prevent_reminder_mail(o, lp)
|
lp.payment_provider.prevent_reminder_mail(o, lp)
|
||||||
):
|
):
|
||||||
continue
|
continue
|
||||||
|
|||||||
Reference in New Issue
Block a user