Add missing html closing tag.

This commit is contained in:
Mathias Behrle 2017-04-03 16:17:28 +02:00
parent 8bd3984716
commit 20cfd147c9
1 changed files with 1 additions and 1 deletions

View File

@ -376,7 +376,7 @@ class Template(ModelSQL, ModelView):
# TODO Add styles
if html:
html = "<html><head><head><body>%s</body></html>" % (html)
html = "<html><head></head><body>%s</body></html>" % (html)
if html and plain:
body = MIMEMultipart('alternative')