summaryrefslogtreecommitdiffstats
path: root/python/gui.py
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2019-04-30 17:23:57 +0200
committerMatthias P. Braendli <matthias.braendli@mpb.li>2019-04-30 17:23:57 +0200
commitd68dc3858d0c640d1cddd86b81435a513a1073aa (patch)
tree5f54d3469dc462e5c95fb2cc94de2dd3a6b8982e /python/gui.py
parenta6011d83e6140b8e12e7701f1e479c2fd65ce211 (diff)
downloaddabmod-d68dc3858d0c640d1cddd86b81435a513a1073aa.tar.gz
dabmod-d68dc3858d0c640d1cddd86b81435a513a1073aa.tar.bz2
dabmod-d68dc3858d0c640d1cddd86b81435a513a1073aa.zip
GUI: use correct plot directory
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,