only print out plaintext when NOT_SEND_EMAIL

This commit is contained in:
Son NK 2019-12-22 15:58:07 +00:00 committed by Ninh Dinh
parent 8323dfbfe0
commit e9a58b89ad

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