aboutsummaryrefslogtreecommitdiffstats
path: root/python/gui.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/gui.py')
-rwxr-xr-xpython/gui.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/python/gui.py b/python/gui.py
index 7823175..810ff40 100755
--- a/python/gui.py
+++ b/python/gui.py
@@ -83,6 +83,7 @@ if __name__ == '__main__':
allconfig.read(cli_args.config)
config = allconfig['gui']
dpd_port = allconfig['dpdce'].getint('control_port')
+ plot_relative_dir = allconfig['dpdce']['plot_directory']
daemon = False
if daemon:
@@ -113,7 +114,7 @@ if __name__ == '__main__':
'/': { },
'/dpd': {
'tools.staticdir.on': True,
- 'tools.staticdir.dir': os.path.join(staticdir, u"dpd/")
+ 'tools.staticdir.dir': os.path.realpath(plot_relative_dir)
},
'/css': {
'tools.staticdir.on': True,