--- a/svgui/svgui_server.py Fri Oct 13 13:17:42 2017 +0300
+++ b/svgui/svgui_server.py Mon Oct 16 17:20:31 2017 +0300
@@ -26,6 +26,7 @@
from nevow import tags, loaders
import simplejson as json
+import runtime.NevowServer as NS
svgfile = '%(svgfile)s'
@@ -113,7 +114,7 @@
jsClass = u"LiveSVGPage.LiveSVGWidget"
docFactory = loaders.stan(tags.div(render=tags.directive('liveElement'))[
- tags.xml(loaders.xmlfile(os.path.join(WorkingDir, svgfile))),
+ tags.xml(loaders.xmlfile(os.path.join(NS.WorkingDir, svgfile))),
])
def HMIinitialisation(self):