From 4aeaf975abd5fc71138195ad880038b631bfc3e8 Mon Sep 17 00:00:00 2001 From: Gaetan Delannay Date: Fri, 10 Jul 2009 16:19:34 +0200 Subject: [PATCH] Small regression while generating documents from appy.gen --- gen/plone25/mixins/PodTemplateMixin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gen/plone25/mixins/PodTemplateMixin.py b/gen/plone25/mixins/PodTemplateMixin.py index 85a9e3a..853d7e3 100644 --- a/gen/plone25/mixins/PodTemplateMixin.py +++ b/gen/plone25/mixins/PodTemplateMixin.py @@ -56,7 +56,7 @@ class PodTemplateMixin(AbstractMixin): 'now': self.getProductConfig().DateTime(), 'projectFolder': os.path.dirname(appModule.__file__) } - rendererParams = {'template': StringIO(appySelf.podTemplate), + rendererParams = {'template': StringIO(appySelf.podTemplate.content), 'context': podContext, 'result': tempFileName } if appySelf.tool.unoEnabledPython: