[Erp5-report] r14529 - /erp5/trunk/products/ERP5OOo/Document/OOoDocument.py

nobody at svn.erp5.org nobody at svn.erp5.org
Mon May 21 17:00:47 CEST 2007


Author: bartek
Date: Mon May 21 17:00:47 2007
New Revision: 14529

URL: http://svn.erp5.org?rev=14529&view=rev
Log:
adjust to new filter naming convention

Modified:
    erp5/trunk/products/ERP5OOo/Document/OOoDocument.py

Modified: erp5/trunk/products/ERP5OOo/Document/OOoDocument.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5OOo/Document/OOoDocument.py?rev=14529&r1=14528&r2=14529&view=diff
==============================================================================
--- erp5/trunk/products/ERP5OOo/Document/OOoDocument.py (original)
+++ erp5/trunk/products/ERP5OOo/Document/OOoDocument.py Mon May 21 17:00:47 2007
@@ -298,7 +298,7 @@
       format_list = [x for x in self.getTargetFormatList() if x.endswith(format)]
       format = format_list[0]
     elif format == 'html':
-      format_list = [x for x in self.getTargetFormatList() if x.startswith('html')]
+      format_list = [x for x in self.getTargetFormatList() if x.startswith('html') or x.endswith('html')]
       format = format_list[0]
       is_html = 1
     elif format in ('txt', 'text', 'text-content'):




More information about the Erp5-report mailing list