From 65eb83f76ccc302aaad3228989fb9aa03b2638cd Mon Sep 17 00:00:00 2001 From: Kevin Bataille Date: Mon, 16 Feb 2026 16:09:06 +0100 Subject: [PATCH] Fix naming conflict - fetch_existing vs fetch_existing_categories Co-authored-by: Qwen-Coder --- src/seo/category_proposer.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/seo/category_proposer.py b/src/seo/category_proposer.py index 66965e4..dfa7f84 100644 --- a/src/seo/category_proposer.py +++ b/src/seo/category_proposer.py @@ -78,7 +78,7 @@ class CategoryProposer: self.api_calls = 0 self.ai_cost = 0.0 self.use_editorial_strategy = use_editorial_strategy - self.fetch_existing_categories = fetch_existing_categories + self.fetch_existing = fetch_existing_categories # Renamed to avoid conflict self.site_analysis = {} self.existing_categories_by_site = {} # Fetched from WordPress self.sites = Config.WORDPRESS_SITES # Add sites config @@ -358,7 +358,7 @@ Return ONLY a JSON array with one object per post.""" logger.info("="*70 + "\n") # Fetch existing categories from WordPress - if self.fetch_existing_categories: + if self.fetch_existing: self.fetch_existing_categories() # Analyze editorial strategy first