🐛 Children is a dict, not a list

Closes #3805
This commit is contained in:
Gina Häußge committed 2020-11-11 10:31:31 +01:00
1 parent f55d7e29f7
commit bed0f8d1c8
1 file changed
+1 -1
+1 -1
View File
@@ -643,7 +643,7 @@ class LocalFileStorage(StorageInterface):
for key, node in nodes.items():
if node["type"] == "folder":
node = copy.copy(node)
node["children"] = []
node["children"] = {}
result[key] = node
return result