@ -254,12 +254,18 @@ def get_folders():
if 'folders' in d:
d = d['folders']
r = []
m = {}
for row in d :
keys = row.keys()[0]
key = row.keys()[0]
row = row[keys]
row = row[key]
if key not in m:
r.append(row)
m[key] = len(r) -1
else:
index = m[key]
r[index] = row
d = r
d = []