@ -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]
r.append(row)
if key not in m:
m[key] = len(r) -1
else:
index = m[key]
r[index] = row
d = r
d = []