From 96a692114eabe9998485a10787f7dfb9648a0c80 Mon Sep 17 00:00:00 2001 From: Aevann Date: Fri, 20 Jan 2023 11:07:42 +0200 Subject: [PATCH] don't spam the console --- files/helpers/mail.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/files/helpers/mail.py b/files/helpers/mail.py index 776cc5fc8a..01302def61 100644 --- a/files/helpers/mail.py +++ b/files/helpers/mail.py @@ -16,8 +16,7 @@ def send_mail(to_address, subject, html): "subject": subject, "html": html, } - x = requests.post(url, data=data) - print(x.text, flush=True) + requests.post(url, data=data) else: if MAILGUN_KEY == DEFAULT_CONFIG_VALUE: return url = f"https://api.mailgun.net/v3/{SITE}/messages"