From e8d03cd9eff1964a09843410f6c4ce5871387cb8 Mon Sep 17 00:00:00 2001 From: Levi Date: Mon, 25 Dec 2023 21:22:06 +0100 Subject: [PATCH] Fix email newlines --- mail.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mail.py b/mail.py index b06299f..c11eedc 100644 --- a/mail.py +++ b/mail.py @@ -38,7 +38,7 @@ def mailgun(subject: str, message: str, email: str): 'from': f'Titanic <{config.MAILGUN_EMAIL}>', 'to': [email], 'subject': subject, - 'html': message + 'html': message.replace('\n', '
') } )