mirror of
https://github.com/TheLovinator1/wutheringwaves.git
synced 2025-11-28 04:59:49 +01:00
Fix duplicate condition check in create_atom_feeds function
Co-authored-by: TheLovinator1 <4153203+TheLovinator1@users.noreply.github.com>
This commit is contained in:
@@ -596,9 +596,6 @@ def create_atom_feeds(articles: list[dict[Any, Any]], output_dir: Path) -> None:
|
|||||||
if not articles:
|
if not articles:
|
||||||
logger.error("Can't create Atom feeds, no articles provided")
|
logger.error("Can't create Atom feeds, no articles provided")
|
||||||
return
|
return
|
||||||
if not articles:
|
|
||||||
logger.error("Can't create Atom feeds, no articles provided")
|
|
||||||
return
|
|
||||||
|
|
||||||
articles_sorted: list[dict[Any, Any]] = sorted(
|
articles_sorted: list[dict[Any, Any]] = sorted(
|
||||||
articles,
|
articles,
|
||||||
|
|||||||
Reference in New Issue
Block a user