From 2d9a3d42d221058c4a35f15a2230326505ecadb4 Mon Sep 17 00:00:00 2001 From: Jean-Marie Favreau Date: Sat, 2 Nov 2024 18:39:43 +0100 Subject: [PATCH] Fix import fotomat --- src/agenda_culturel/import_tasks/custom_extractors/lefotomat.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/agenda_culturel/import_tasks/custom_extractors/lefotomat.py b/src/agenda_culturel/import_tasks/custom_extractors/lefotomat.py index fc85431..3250d2e 100644 --- a/src/agenda_culturel/import_tasks/custom_extractors/lefotomat.py +++ b/src/agenda_culturel/import_tasks/custom_extractors/lefotomat.py @@ -12,7 +12,7 @@ class CExtractor(TwoStepsExtractor): mapping = {"Concerts": "FĂȘtes & Concerts"} mapping_tag = {"Concerts": "concert"} if category in mapping: - return mapping[category], mapping_tag + return mapping[category], mapping_tag[category] else: return None, None