From c2a8c93fda910ca0fc38f11ec86f7b49d189e066 Mon Sep 17 00:00:00 2001 From: Ruud Date: Tue, 26 May 2015 14:58:26 +0200 Subject: [PATCH] Faulty email notification subject --- couchpotato/core/notifications/email_.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/couchpotato/core/notifications/email_.py b/couchpotato/core/notifications/email_.py index dffc7f6..d1e8fd5 100644 --- a/couchpotato/core/notifications/email_.py +++ b/couchpotato/core/notifications/email_.py @@ -31,8 +31,8 @@ class Email(Notification): starttls = self.conf('starttls') # Make the basic message - message = MIMEText(toUnicode(message), _charset = Env.get('encoding')) message['Subject'] = '%s: %s' % (self.default_title, toUnicode(message)) + message = MIMEText(toUnicode(message), _charset = Env.get('encoding')) message['From'] = from_address message['To'] = to_address message['Date'] = formatdate(localtime = 1)