From f3d16c8bcdf7102181faf28be3cc576b04508862 Mon Sep 17 00:00:00 2001 From: Cédric Bonhomme Date: Wed, 19 Nov 2014 21:40:06 +0100 Subject: Bug fix: email content is now created outside the function. --- pyaggr3g470r/emails.py | 2 -- 1 file changed, 2 deletions(-) (limited to 'pyaggr3g470r') diff --git a/pyaggr3g470r/emails.py b/pyaggr3g470r/emails.py index f55676c2..68511784 100644 --- a/pyaggr3g470r/emails.py +++ b/pyaggr3g470r/emails.py @@ -65,8 +65,6 @@ def send_email(to="", bcc="", subject="", plaintext="", html=""): Send an email. """ # Create the body of the message (a plain-text and an HTML version). - html = """\n\n%s\n\n\n%s\n\n""" % \ - (feed.title + ": " + article.title, article.content) if plaintext == "": plaintext = utils.clear_string(html) -- cgit