Commit 70317ca4 authored by Laurent Bachelier's avatar Laurent Bachelier 🐧 Committed by Romain Bignon

Sort radios

parent 1fa64bf5
......@@ -159,7 +159,7 @@ class RadioFranceBackend(BaseBackend, ICapRadio, ICapCollection):
if len(splited_path) > 0:
raise CollectionNotFound()
for id in self._RADIOS.iterkeys():
for id in sorted(self._RADIOS.iterkeys()):
yield self.get_radio(id)
def iter_radios_search(self, pattern):
......
Markdown is supported
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