Просмотр исходного кода

only print out plaintext when NOT_SEND_EMAIL

Son NK 5 лет назад
Родитель
Сommit
ea1492904a
1 измененных файлов с 1 добавлено и 2 удалено
  1. 1 2
      app/email_utils.py

+ 1 - 2
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