From 6a2bad43ac31694843c374f4029ed2c001a5b483 Mon Sep 17 00:00:00 2001 From: Nicolas Delaby <nicolas@nexedi.com> Date: Mon, 26 May 2008 21:03:50 +0000 Subject: [PATCH] Fix var name git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@21151 20353a03-c40f-0410-a6d1-a30d3c3de9de --- product/ERP5OOo/transforms/odt_to_pdf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/product/ERP5OOo/transforms/odt_to_pdf.py b/product/ERP5OOo/transforms/odt_to_pdf.py index a3aa19b28b..b1ca491d3b 100644 --- a/product/ERP5OOo/transforms/odt_to_pdf.py +++ b/product/ERP5OOo/transforms/odt_to_pdf.py @@ -31,7 +31,7 @@ class OdtToPdf: doc.convert() pdf = doc.convertTo('pdf') if cache is not None: - cache.setData(msword) + cache.setData(pdf) return cache else: stream = OOoDocumentDataStream() -- 2.30.9