From 635ab20c3bd0ae16cdb9935aa9e71611612fae1e Mon Sep 17 00:00:00 2001 From: Max G Date: Mon, 4 Mar 2019 20:12:30 +0100 Subject: [PATCH] Fixed sorting direction --- Calendar/RssInterface.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Calendar/RssInterface.py b/Calendar/RssInterface.py index 4801e6f..031d092 100644 --- a/Calendar/RssInterface.py +++ b/Calendar/RssInterface.py @@ -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) \ No newline at end of file + self.loaded_posts.sort(key=lambda x : x.datetime, reverse=True) \ No newline at end of file