From ce73624443fc910b279baeaaab41cdf8a889dd04 Mon Sep 17 00:00:00 2001 From: Max Date: Thu, 18 Apr 2019 08:30:52 +0200 Subject: [PATCH] Bug fix --- Calendar/RssInterface.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Calendar/RssInterface.py b/Calendar/RssInterface.py index d65ea60..cc5a20a 100644 --- a/Calendar/RssInterface.py +++ b/Calendar/RssInterface.py @@ -23,7 +23,7 @@ class RssInterface(DataSourceInterface): return self.get_day_posts(datetime.now()) def get_day_posts(self, day): - return self.__get_posts_to_filter__(lambda x : x.datetime.strftime('%d-%m-%y') == date.strftime('%d-%m-%y')) + return self.__get_posts_to_filter__(lambda x : x.datetime.strftime('%d-%m-%y') == day.strftime('%d-%m-%y')) def __get_posts_to_filter__(self, post_filter): if self.loaded_posts is None: