Return False when word is not in text when checking blacklist

This commit is contained in:
Joakim Hellsén 2023-01-10 22:49:36 +01:00
commit 204f64049b
No known key found for this signature in database
GPG key ID: C889E6DC5EDBB36D

View file

@ -44,6 +44,7 @@ def has_black_tags(custom_reader: Reader, feed: Feed) -> bool:
if blacklist_title or blacklist_summary or blacklist_content: if blacklist_title or blacklist_summary or blacklist_content:
return True return True
return False
def should_be_skipped(custom_reader: Reader, entry: Entry) -> bool: def should_be_skipped(custom_reader: Reader, entry: Entry) -> bool: