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
\n
format_kw = {\'format\': format,\n
\'quality\': quality}\n
\n
for display in display_list:\n
format_kw[\'display\'] = display\n
if display is None:\n
format_kw.pop(\'display\')\n
context.convert(**format_kw)\n
</string> </value>
</item>
......
24
\ No newline at end of file
25
\ 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