Commit 6d96cc5c authored by Nicolas Delaby's avatar Nicolas Delaby

s/file_name/filename/

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@41502 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent c2bca8bf
......@@ -207,7 +207,7 @@ class OOoDocumentExtensibleTraversableMixin(BaseExtensibleTraversableMixin):
try:
self._convert(format='html')
_setCacheHeaders(_ViewEmulator().__of__(self), web_cache_kw)
mime, data = self.getConversion(format=EMBEDDED_FORMAT, file_name=name)
mime, data = self.getConversion(format=EMBEDDED_FORMAT, filename=name)
document = OFSFile(name, name, data, content_type=mime).__of__(self.aq_parent)
except (NotConvertedError, ConversionError, KeyError):
document = DocumentExtensibleTraversableMixin.getExtensibleContent(self, request, name)
......
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