Commit 39eeb9e6 authored by Romain Courteaud's avatar Romain Courteaud

Remove useless quote in attachment name.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@25108 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 8d504a13
...@@ -82,9 +82,9 @@ report_data = context.report_view.pt_render(\n ...@@ -82,9 +82,9 @@ report_data = context.report_view.pt_render(\n
attachment_list = (\n attachment_list = (\n
{\'mime_type\': request.RESPONSE.getHeader(\'content-type\').split(\';\')[0],\n {\'mime_type\': request.RESPONSE.getHeader(\'content-type\').split(\';\')[0],\n
\'content\': \'%s\' % report_data,\n \'content\': \'%s\' % report_data,\n
\'name\': [x[len(\'filename=\'):] for x in request.RESPONSE.getHeader(\n \'name\': [x[len(\'filename="\'):-len(\'"\')] for x in request.RESPONSE.getHeader(\n
\'content-disposition\').split(\';\') \\\n \'content-disposition\').split(\';\') \\\n
if x.startswith(\'filename=\')][0]},)\n if x.startswith(\'filename="\')][0]},)\n
\n \n
# XXX Use notification message to improve message content\n # XXX Use notification message to improve message content\n
portal.portal_notifications.sendMessage(\n portal.portal_notifications.sendMessage(\n
......
45 46
\ No newline at end of file \ No newline at end of file
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