diff --git a/display.py b/display.py index 6343849..b0cca4c 100644 --- a/display.py +++ b/display.py @@ -312,6 +312,8 @@ class DisplayHTMLBuild(object): def build(self, root): display_root = self.iwla.getConfValue('DISPLAY_ROOT', '') + if not os.path.exists(display_root): + os.makedirs(display_root) for res_path in self.iwla.getResourcesPath(): target = os.path.abspath(res_path) link_name = os.path.join(display_root, res_path)