Browse Source

Merge "Sort room names"

changes/57/502057/1
Jenkins 4 years ago
committed by Gerrit Code Review
parent
commit
7731955448
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      ptgbot/db.py

+ 1
- 1
ptgbot/db.py View File

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


Loading…
Cancel
Save