Commit cad00b8f authored by Andrea Lorenzon's avatar Andrea Lorenzon 💬
Browse files

updated jstreeceric

parent df5a76c8
Pipeline #1349 passed with stages
in 1 minute and 2 seconds
......@@ -22,8 +22,10 @@ def JSON_from_folder(rootDir: str) -> List[dict]:
subdir = dict.fromkeys(files)
parent = reduce(dict.get, folders[:-1], d)
parent[folders[-1]] = subdir
return DictToJsTree(d[settings.fileFolderName[settings.deploy]])
ff = settings.fileFolderName.get(settings.deploy)
print("d",d)
print("ff",ff)
return DictToJsTree(d[ff])
def DictToJsTree(dic : dict) -> List[dict]:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment