From db6ce7eb0542012566e8632cd8db45d647b1d652 Mon Sep 17 00:00:00 2001 From: Radek Czajka Date: Wed, 29 Jan 2020 09:19:12 +0100 Subject: [PATCH] Bugfix --- src/messaging/models.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/messaging/models.py b/src/messaging/models.py index a8c481ff9..4705b97bd 100644 --- a/src/messaging/models.py +++ b/src/messaging/models.py @@ -31,8 +31,7 @@ class EmailTemplate(models.Model): verbose_name_plural = _('email templates') def __str__(self): - return '%s (%+d)' % (self.get_state_display(), self.days) - return self.subject + return '%s (%+d)' % (self.get_state_display(), self.min_days_since) def run(self, time=None, verbose=False, dry_run=False): state = self.get_state() -- 2.20.1