Waiting list should send things out even if waiting list is disabled

This commit is contained in:
Raphael Michel
2018-10-12 10:44:21 +02:00
parent 250e0a930d
commit ddefeeaf02
3 changed files with 4 additions and 3 deletions

View File

@@ -54,7 +54,7 @@ def send_mails(event: int, user: int, subject: dict, message: dict, orders: list
'pretix.plugins.sendmail.order.email.sent',
user=user,
data={
'subject': subject.localize(o.locale),
'subject': subject.localize(o.locale).format_map(email_context),
'message': message.localize(o.locale).format_map(email_context),
'recipient': o.email
}