From 873990b2bf0732124fb47f09ba69156e5c64f79f Mon Sep 17 00:00:00 2001 From: Navan Chauhan Date: Sun, 6 Jun 2021 15:50:33 +0530 Subject: remove unused argument --- app/misc_func.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/misc_func.py') diff --git a/app/misc_func.py b/app/misc_func.py index c8bb77b..518b6a3 100644 --- a/app/misc_func.py +++ b/app/misc_func.py @@ -17,7 +17,7 @@ def flash_errors(form): # Sauce: https://github.com/alectrocute/flaskSaaS/blob/master/app/toolbox/email.py -def send(to, subject, body, body_html, thread=True): +def send(to, subject, body, body_html): sender = app.config["MAIL_FROM"] message = EmailMultiAlternatives(subject, body, sender, [to]) message.attach_alternative(body_html, "text/html") -- cgit v1.2.3