Small regression while generating documents from appy.gen

This commit is contained in:
Gaetan Delannay 2009-07-10 16:19:34 +02:00
parent 10eea7d735
commit 4aeaf975ab

View file

@ -56,7 +56,7 @@ class PodTemplateMixin(AbstractMixin):
'now': self.getProductConfig().DateTime(), 'now': self.getProductConfig().DateTime(),
'projectFolder': os.path.dirname(appModule.__file__) 'projectFolder': os.path.dirname(appModule.__file__)
} }
rendererParams = {'template': StringIO(appySelf.podTemplate), rendererParams = {'template': StringIO(appySelf.podTemplate.content),
'context': podContext, 'context': podContext,
'result': tempFileName } 'result': tempFileName }
if appySelf.tool.unoEnabledPython: if appySelf.tool.unoEnabledPython: