don't spam the console

pull/90/head
Aevann 2023-01-20 11:07:42 +02:00
parent 75e4b019b5
commit 96a692114e
1 changed files with 1 additions and 2 deletions

View File

@ -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"