Strange bug fixed when importing appy.pod classes.

This commit is contained in:
Gaetan Delannay 2009-08-04 17:37:53 +02:00
parent facbe7fa3d
commit a5707f1fa6

View file

@ -65,8 +65,9 @@ class PodTemplateMixin(AbstractMixin):
rendererParams['ooPort'] = appySelf.tool.openOfficePort rendererParams['ooPort'] = appySelf.tool.openOfficePort
# Launch the renderer # Launch the renderer
import appy.pod import appy.pod
from appy.pod.renderer import Renderer
try: try:
renderer = appy.pod.renderer.Renderer(**rendererParams) renderer = Renderer(**rendererParams)
renderer.run() renderer.run()
except appy.pod.PodError, pe: except appy.pod.PodError, pe:
if not os.path.exists(tempFileName): if not os.path.exists(tempFileName):