From 97a4f8bd7029c5e57bea5ae17bb59e6242a065ee Mon Sep 17 00:00:00 2001 From: Jens Kleineheismann Date: Thu, 28 Mar 2019 10:29:56 +0100 Subject: [PATCH] FIX: error message in exception. --- dav_base/emails.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dav_base/emails.py b/dav_base/emails.py index 023c109..b5b8d78 100644 --- a/dav_base/emails.py +++ b/dav_base/emails.py @@ -26,7 +26,7 @@ class AbstractMail(object): def _get_template(self): if not self._template_name: - raise ImproperlyConfigured('%s._template_name ist not set.', self.__class__.__name__) + raise ImproperlyConfigured('%s._template_name ist not set.' % self.__class__.__name__) return get_template(self._template_name, using='PLAINTEXT') def _get_context_data(self, extra_context=None):