From 5db549515307007f7c9c3ce6d64de931ebcf6459 Mon Sep 17 00:00:00 2001 From: Brendan Howell Date: Wed, 8 Apr 2020 21:57:55 +0200 Subject: [PATCH] added static files for config editor --- screenless/bureau/ihr/ihrweb.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/screenless/bureau/ihr/ihrweb.py b/screenless/bureau/ihr/ihrweb.py index ed0490b..c99c3c3 100644 --- a/screenless/bureau/ihr/ihrweb.py +++ b/screenless/bureau/ihr/ihrweb.py @@ -72,7 +72,7 @@ class IhrApp(Bottle): pass def static(self, path): - spath = os.path.join(self.tdir, "web_static", path) - return static_file(spath) + root_path = os.path.join(self.tdir, "web_static") + return static_file(path, root=root_path)