From 750ab94f932fb2132bbefb63e9d9decbe3e4b94a Mon Sep 17 00:00:00 2001 From: Stephan Telling Date: Sun, 21 May 2017 21:14:06 +0200 Subject: [PATCH] add defaults for to_recipients in send_mail and add_outgoing_email --- src/utils/email.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/utils/email.py b/src/utils/email.py index 6a458f39..0afdc07b 100644 --- a/src/utils/email.py +++ b/src/utils/email.py @@ -11,8 +11,8 @@ logger = logging.getLogger("bornhack.%s" % __name__) def _send_email( text_template, - to_recipients, subject, + to_recipients=[], cc_recipients=[], bcc_recipients=[], html_template='', @@ -60,9 +60,9 @@ def _send_email( def add_outgoing_email( text_template, - to_recipients, formatdict, subject, + to_recipients=[], cc_recipients=[], bcc_recipients=[], html_template='',