diff --git a/phpbb2slack.py b/phpbb2slack.py index 3bf3dd2..9452e20 100755 --- a/phpbb2slack.py +++ b/phpbb2slack.py @@ -105,8 +105,8 @@ def main(): sys.exit(0) source.extract_caching_headers(rsp.headers) - scrub_items(logger, cache) prune_news(logger, cache, news, args.cache_expiration) + scrub_items(logger, cache) slack_client = rss2slack.get_slack_web_client( slack_token, args.slack_base_url, args.slack_timeout diff --git a/rss2irc.py b/rss2irc.py index b967478..5471ca4 100755 --- a/rss2irc.py +++ b/rss2irc.py @@ -174,8 +174,8 @@ def main(): sys.exit(0) source.extract_caching_headers(rsp.headers) - scrub_items(logger, cache) prune_news(logger, cache, news, args.cache_expiration) + scrub_items(logger, cache) if not args.cache_init: write_data(logger, news, args.output, args.handle, args.sleep) diff --git a/rss2slack.py b/rss2slack.py index 1e39f35..4bbebdd 100755 --- a/rss2slack.py +++ b/rss2slack.py @@ -102,8 +102,8 @@ def main(): sys.exit(0) source.extract_caching_headers(rsp.headers) - rss2irc.scrub_items(logger, cache) rss2irc.prune_news(logger, cache, news, args.cache_expiration) + rss2irc.scrub_items(logger, cache) slack_client = get_slack_web_client( slack_token,