Commit 49079e57 authored by Jérome Perrin's avatar Jérome Perrin

DMS Pre Conversion: Allow preconverting with empty display=

parent d78a2b5b
...@@ -57,8 +57,11 @@ portal = context.getPortalObject()\n ...@@ -57,8 +57,11 @@ portal = context.getPortalObject()\n
\n \n
format_kw = {\'format\': format,\n format_kw = {\'format\': format,\n
\'quality\': quality}\n \'quality\': quality}\n
for display in display_list:\n for display in display_list:\n
format_kw[\'display\'] = display\n format_kw[\'display\'] = display\n
if display is None:\n
context.convert(**format_kw)\n context.convert(**format_kw)\n
</string> </value> </string> </value>
</item> </item>
24 25
\ No newline at end of file \ No newline at end of file
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment