Commit 6aebf658 authored by Guilhem Saurel's avatar Guilhem Saurel
Browse files

offices: sort by office name

parent c0253ae4
......@@ -70,7 +70,7 @@ class Offices:
def sorted(self):
return {k: sorted(v) for k, v in if k != 'Exterieur' and v}
return {o: sorted([o]) for o in sorted( if o != 'Exterieur' and[o]}
def dumps(self):
"""dump a sorted dict of offices with sorted lists of members as a JSON string"""
Supports Markdown
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