Commit f11a4a5e authored by Nicolas Delaby's avatar Nicolas Delaby

Accept empty filenames, source_format and destination_format are enough to convert successfuly


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@44571 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 7fd2f265
......@@ -62,8 +62,7 @@ class OOOdCommandTransform(commandtransform):
def __init__(self, context, name, data, mimetype):
commandtransform.__init__(self, name)
if name:
self.__name__ = name
self.__name__ = name
self.mimetype = mimetype
self.context = context
if self.mimetype == 'text/html':
......
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