From a784807a90a1fb5ca384fd756a9483cd2ad72de7 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Mon, 3 Nov 2025 05:57:10 +0000 Subject: [PATCH] Fix duplicate condition check in create_atom_feeds function Co-authored-by: TheLovinator1 <4153203+TheLovinator1@users.noreply.github.com> --- scrape.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/scrape.py b/scrape.py index ff95398..08c20ba 100644 --- a/scrape.py +++ b/scrape.py @@ -596,9 +596,6 @@ def create_atom_feeds(articles: list[dict[Any, Any]], output_dir: Path) -> None: if not articles: logger.error("Can't create Atom feeds, no articles provided") return - if not articles: - logger.error("Can't create Atom feeds, no articles provided") - return articles_sorted: list[dict[Any, Any]] = sorted( articles,