From ea1492904a5ac703fcb70152b1fa9bf9b9e7f24b Mon Sep 17 00:00:00 2001 From: Son NK Date: Sun, 22 Dec 2019 15:58:07 +0000 Subject: [PATCH] only print out plaintext when NOT_SEND_EMAIL --- app/email_utils.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/app/email_utils.py b/app/email_utils.py index b1e5b468..ef961a21 100644 --- a/app/email_utils.py +++ b/app/email_utils.py @@ -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