Commit 08694565 authored by Fabien Morin's avatar Fabien Morin

Pictures folder in odf archive take a "s"

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@31399 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 4124026d
...@@ -194,7 +194,7 @@ class OOoBuilder(Implicit): ...@@ -194,7 +194,7 @@ class OOoBuilder(Implicit):
""" """
count = self._image_count count = self._image_count
self._image_count += 1 self._image_count += 1
name = "Picture/%s.%s" % (count, format) name = "Pictures/%s.%s" % (count, format)
self.replace(name, image) self.replace(name, image)
is_legacy = ('oasis.opendocument' not in self.getMimeType()) is_legacy = ('oasis.opendocument' not in self.getMimeType())
return "%s%s" % (is_legacy and '#' or '', name,) return "%s%s" % (is_legacy and '#' or '', 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