Update src/pretix/base/models/mail.py

Co-authored-by: Martin Gross <gross@rami.io>
This commit is contained in:
Raphael Michel
2026-01-29 09:20:27 +01:00
committed by GitHub
parent 7d8d36c19a
commit ff1993a95a

View File

@@ -29,7 +29,6 @@ from django_scopes import scope, scopes_disabled
def CASCADE_IF_QUEUED(collector, field, sub_objs, using):
# If the email is still queued and the thing it is related to vanishes, the email can vanish as well
print(sub_objs)
cascade_objs = [
o for o in sub_objs if o.status == OutgoingMail.STATUS_QUEUED
]