Skip to content

Commit

Permalink
remove log lines
Browse files Browse the repository at this point in the history
Signed-off-by: Sebastian Hoß <seb@xn--ho-hia.de>
  • Loading branch information
sebhoss committed Jan 6, 2025
1 parent 26bf846 commit 1605011
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions rss/bot.py
Original file line number Diff line number Diff line change
Expand Up @@ -109,14 +109,8 @@ async def poll_feeds(self) -> None:
async def _send(self, feed: Feed, entry: Entry, sub: Subscription) -> EventID | None:
title_exclude_filter = sub.title_exclude_filter
if title_exclude_filter:
self.log.info(f"Feed '{feed.id}' ({feed.title}) has exclude filter '{title_exclude_filter}'")
if re.search(title_exclude_filter, entry.title):
self.log.info(f"Excluded '{entry.title}'")
return None
else:
self.log.info(f"Not excluding '{entry.title}'")
else:
self.log.info(f"Feed '{feed.id}' ({feed.title}) has no exclude filter")

message = sub.notification_template.safe_substitute(
{
Expand Down

0 comments on commit 1605011

Please sign in to comment.