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