add defaults for to_recipients in send_mail and add_outgoing_email
This commit is contained in:
parent
da26b3e0d3
commit
750ab94f93
|
@ -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='',
|
||||
|
|
Loading…
Reference in a new issue