mirror of
https://gitea.mueller.network/extern/django-helpdesk.git
synced 2024-12-28 01:28:51 +01:00
if files condition restored
This commit is contained in:
parent
fc0ae58420
commit
97b3444a92
@ -120,6 +120,7 @@ def send_templated_mail(template_name,
|
||||
recipients, bcc=bcc)
|
||||
msg.attach_alternative(html_part, "text/html")
|
||||
|
||||
if files:
|
||||
for filename, filefield in files:
|
||||
if six.PY3:
|
||||
msg.attach_file(filefield.path)
|
||||
|
Loading…
Reference in New Issue
Block a user