diff options
author | Cédric Bonhomme <cedric@cedricbonhomme.org> | 2014-11-19 21:40:06 +0100 |
---|---|---|
committer | Cédric Bonhomme <cedric@cedricbonhomme.org> | 2014-11-19 21:40:06 +0100 |
commit | f3d16c8bcdf7102181faf28be3cc576b04508862 (patch) | |
tree | 9547e4937e1e353ea09ecb2b19edc0f4f037c49c /pyaggr3g470r | |
parent | Bug fix: activation key was too long for the database column. (diff) | |
download | newspipe-f3d16c8bcdf7102181faf28be3cc576b04508862.tar.gz newspipe-f3d16c8bcdf7102181faf28be3cc576b04508862.tar.bz2 newspipe-f3d16c8bcdf7102181faf28be3cc576b04508862.zip |
Bug fix: email content is now created outside the function.
Diffstat (limited to 'pyaggr3g470r')
-rw-r--r-- | pyaggr3g470r/emails.py | 2 |
1 files changed, 0 insertions, 2 deletions
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 = """<html>\n<head>\n<title>%s</title>\n</head>\n<body>\n%s\n</body>\n</html>""" % \ - (feed.title + ": " + article.title, article.content) if plaintext == "": plaintext = utils.clear_string(html) |