Commit ab8f9613 authored by Nicolas Delaby's avatar Nicolas Delaby

Use getStandardFileName to name attachments

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@35619 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent a84e41e7
......@@ -93,7 +93,7 @@ def buildAttachmentDictList(document_list, document_type_list=()):
attachment_list.append({'mime_type':mime_type,
'content':content,
'name':attachment.getReference()}
'name':attachment.getStandardFileName()}
)
return attachment_list
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment