Bug fix
This commit is contained in:
parent
d2c7428c62
commit
ce73624443
1 changed files with 1 additions and 1 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue