Merge "Sort room names"

This commit is contained in:
Jenkins 2017-09-05 09:13:41 +00:00 committed by Gerrit Code Review
commit 7731955448
1 changed files with 1 additions and 1 deletions

View File

@ -49,7 +49,7 @@ class PTGDataBase():
return room in self.data['rooms'] return room in self.data['rooms']
def list_rooms(self): def list_rooms(self):
return self.data['rooms'] return sorted(self.data['rooms'])
def add_rooms(self, rooms): def add_rooms(self, rooms):
for room in rooms: for room in rooms: