Create display root before symlink css
This commit is contained in:
@@ -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)
|
||||
|
Reference in New Issue
Block a user