[Erp5-report] r31399 fabien - /erp5/trunk/products/ERP5OOo/OOoUtils.py
nobody at svn.erp5.org
nobody at svn.erp5.org
Fri Dec 18 16:46:19 CET 2009
Author: fabien
Date: Fri Dec 18 16:46:17 2009
New Revision: 31399
URL: http://svn.erp5.org?rev=31399&view=rev
Log:
Pictures folder in odf archive take a "s"
Modified:
erp5/trunk/products/ERP5OOo/OOoUtils.py
Modified: erp5/trunk/products/ERP5OOo/OOoUtils.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5OOo/OOoUtils.py?rev=31399&r1=31398&r2=31399&view=diff
==============================================================================
--- erp5/trunk/products/ERP5OOo/OOoUtils.py [utf8] (original)
+++ erp5/trunk/products/ERP5OOo/OOoUtils.py [utf8] Fri Dec 18 16:46:17 2009
@@ -194,7 +194,7 @@
"""
count = self._image_count
self._image_count += 1
- name = "Picture/%s.%s" % (count, format)
+ name = "Pictures/%s.%s" % (count, format)
self.replace(name, image)
is_legacy = ('oasis.opendocument' not in self.getMimeType())
return "%s%s" % (is_legacy and '#' or '', name,)
More information about the Erp5-report
mailing list