Sendmail rules: Fix typo

This commit is contained in:
Raphael Michel
2021-06-03 14:22:42 +02:00
parent 1a17f54354
commit 0fee7b0613

View File

@@ -156,7 +156,7 @@ class ScheduledMail(models.Model):
log_entry_type='pretix.plugins.sendmail.rule.order.position.email.sent')
elif not o_sent and o.email:
o.send_mail(self.rule.subject, self.rule.template, email_ctx,
log_entry_type='pretix.plugins.sendmail.rule.order.email.set')
log_entry_type='pretix.plugins.sendmail.rule.order.email.sent')
o_sent = True
except SendMailException:
... # ¯\_(ツ)_/¯