White space removed

This commit is contained in:
Pawel M 2016-12-13 23:40:36 +01:00
parent f5b68772cf
commit 3a372fbcb4

View File

@ -118,7 +118,7 @@ def send_templated_mail(template_name,
sender or settings.DEFAULT_FROM_EMAIL, sender or settings.DEFAULT_FROM_EMAIL,
recipients, bcc=bcc) recipients, bcc=bcc)
msg.attach_alternative(html_part, "text/html") msg.attach_alternative(html_part, "text/html")
if files: if files:
for file_name, file_field in files: for file_name, file_field in files:
part_attachment = MIMEBase('application', "octet-stream") part_attachment = MIMEBase('application', "octet-stream")