Strange bug fixed when importing appy.pod classes.
This commit is contained in:
parent
facbe7fa3d
commit
a5707f1fa6
|
@ -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):
|
||||||
|
|
Loading…
Reference in a new issue