diff --git a/slixfeed/action.py b/slixfeed/action.py index 34bdf68..b05ec5f 100644 --- a/slixfeed/action.py +++ b/slixfeed/action.py @@ -991,7 +991,7 @@ async def scan_json(self, jid_bare, db_file, url): "{} {} {}" ).format( title, summary, pathname) - if self.settings['default']['filter']: + if int(self.settings['default']['filter']): print('Filter is now processing data.') allow_list = config.is_include_keyword(db_file, "allow", string) @@ -1279,7 +1279,7 @@ async def scan(self, jid_bare, db_file, url): "{} {} {}" ).format( title, summary, pathname) - if self.settings['default']['filter']: + if int(self.settings['default']['filter']): print('Filter is now processing data.') allow_list = config.is_include_keyword(db_file, "allow", string)