python3 fix

parent 13b3f3e5
......@@ -475,7 +475,7 @@ class ClientTreeAll(Resource):
redo = True
while redo:
redo = False
for key, entry in tree.items():
for key, entry in tree.items().copy():
parent = entry['parent']
if not entry['children']:
entry['children'] = None
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment