Fixed sorting direction

This commit is contained in:
Maximilian Giller 2019-03-04 20:12:30 +01:00
parent f0be84ccb2
commit 635ab20c3b

View file

@ -25,4 +25,4 @@ class RssInterface(DataSourceInterface):
return [post for post in self.loaded_posts if post_filter(post)]
def __sort_posts__(self):
self.loaded_posts.sort(key=lambda x : x.datetime)
self.loaded_posts.sort(key=lambda x : x.datetime, reverse=True)