diff options
author | Navan Chauhan <navanchauhan@gmail.com> | 2021-06-06 15:50:33 +0530 |
---|---|---|
committer | Navan Chauhan <navanchauhan@gmail.com> | 2021-06-06 15:50:33 +0530 |
commit | 873990b2bf0732124fb47f09ba69156e5c64f79f (patch) | |
tree | 867db563cb682bbee5966539f827932dc5611e8e | |
parent | ad073ba1ceb309881ff5cef0a80cf32baa825d03 (diff) |
remove unused argument
-rw-r--r-- | app/misc_func.py | 2 |
1 files changed, 1 insertions, 1 deletions
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") |