fix bcc_recipients

This commit is contained in:
Stephan Telling 2017-05-21 22:11:54 +02:00
parent 750ab94f93
commit eab2c41f9b
No known key found for this signature in database
GPG key ID: D4892289F36ADA9B

View file

@ -30,7 +30,7 @@ def _send_email(
text_template,
sender,
to_recipients,
bcc_recipients + [settings.ARCHIVE_EMAIL],
bcc_recipients + [settings.ARCHIVE_EMAIL] if bcc_recipients else [settings.ARCHIVE_EMAIL],
cc_recipients
)