Skip to content

Commit

Permalink
Sort channels by alphabetical order
Browse files Browse the repository at this point in the history
  • Loading branch information
malomehi committed Jun 2, 2024
1 parent 7a84e93 commit be97f01
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion acestream_search/channels/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,4 +47,4 @@ def get_channels(url=CHANNELS_URL, include_android=False):
name='a', attrs={'href': pattern}, recursive=False
)
]
return channels
return sorted(channels, key=lambda x: x['name'])

0 comments on commit be97f01

Please sign in to comment.