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)