From e3e8a162bd73208aa1b0e686ceca07111cf4b886 Mon Sep 17 00:00:00 2001 From: Raphael Michel Date: Wed, 8 Feb 2017 12:06:11 +0100 Subject: [PATCH] Fix KeyError in sendmail history --- src/pretix/plugins/sendmail/views.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/pretix/plugins/sendmail/views.py b/src/pretix/plugins/sendmail/views.py index 767290c45a..79cd69ded9 100644 --- a/src/pretix/plugins/sendmail/views.py +++ b/src/pretix/plugins/sendmail/views.py @@ -123,6 +123,7 @@ class EmailHistoryView(EventPermissionRequiredMixin, ListView): ctx = super().get_context_data() status = dict(Order.STATUS_CHOICE) + status['overdue'] = _('pending with payment overdue') for log in ctx['logs']: log.pdata = log.parsed_data log.pdata['locales'] = {}