From d68dc3858d0c640d1cddd86b81435a513a1073aa Mon Sep 17 00:00:00 2001 From: "Matthias P. Braendli" Date: Tue, 30 Apr 2019 17:23:57 +0200 Subject: GUI: use correct plot directory --- python/gui.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'python') 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, -- cgit v1.2.3