aboutsummaryrefslogtreecommitdiff
path: root/app/misc_func.py
diff options
context:
space:
mode:
authorNavan Chauhan <navanchauhan@gmail.com>2021-06-06 15:50:33 +0530
committerNavan Chauhan <navanchauhan@gmail.com>2021-06-06 15:50:33 +0530
commit873990b2bf0732124fb47f09ba69156e5c64f79f (patch)
tree867db563cb682bbee5966539f827932dc5611e8e /app/misc_func.py
parentad073ba1ceb309881ff5cef0a80cf32baa825d03 (diff)
remove unused argument
Diffstat (limited to 'app/misc_func.py')
-rw-r--r--app/misc_func.py2
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")