aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCédric Bonhomme <cedric@cedricbonhomme.org>2014-11-19 21:40:06 +0100
committerCédric Bonhomme <cedric@cedricbonhomme.org>2014-11-19 21:40:06 +0100
commitf3d16c8bcdf7102181faf28be3cc576b04508862 (patch)
tree9547e4937e1e353ea09ecb2b19edc0f4f037c49c
parentBug fix: activation key was too long for the database column. (diff)
downloadnewspipe-f3d16c8bcdf7102181faf28be3cc576b04508862.tar.gz
newspipe-f3d16c8bcdf7102181faf28be3cc576b04508862.tar.bz2
newspipe-f3d16c8bcdf7102181faf28be3cc576b04508862.zip
Bug fix: email content is now created outside the function.
-rw-r--r--pyaggr3g470r/emails.py2
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)
bgstack15