add more logging

This commit is contained in:
Son NK 2020-11-08 22:39:49 +01:00
parent a9297078d3
commit 3f8e5d0a8b
1 changed files with 1 additions and 0 deletions

View File

@ -218,6 +218,7 @@ def send_email(
msg.attach(MIMEText(plaintext, "text"))
if not html:
LOG.d("Use plaintext as html")
html = plaintext.replace("\n", "<br>")
msg.attach(MIMEText(html, "html"))