only print out plaintext when NOT_SEND_EMAIL

This commit is contained in:
Son NK 2019-12-22 15:58:07 +00:00
parent 441fc773ba
commit ea1492904a
1 changed files with 1 additions and 2 deletions

View File

@ -104,11 +104,10 @@ def send_test_email_alias(email, name):
def send_email(to_email, subject, plaintext, html):
if NOT_SEND_EMAIL:
LOG.d(
"send email with subject %s to %s, plaintext: %s, html:%s",
"send email with subject %s to %s, plaintext: %s",
subject,
to_email,
plaintext,
html,
)
return