|
|
@ -155,6 +155,6 @@ def send_overview(context, request): |
|
|
|
tmp.seek(0) |
|
|
|
tmp.seek(0) |
|
|
|
attachment = Attachment(xls_name, XLSX_CONTENT_TYPE, tmp) |
|
|
|
attachment = Attachment(xls_name, XLSX_CONTENT_TYPE, tmp) |
|
|
|
message.attach(attachment) |
|
|
|
message.attach(attachment) |
|
|
|
request.mailer.send(message) |
|
|
|
request.mailer.send_immediately(message, fail_silently=False) |
|
|
|
|
|
|
|
|
|
|
|
return {"recipients": recipients, "xls_name": xls_name} |
|
|
|
return {"recipients": recipients, "xls_name": xls_name} |
|
|
|