From 30aafd4979ad6ad91674e018ae049605179ad60c Mon Sep 17 00:00:00 2001 From: Jean-Marie Favreau Date: Sat, 19 Oct 2024 13:13:47 +0200 Subject: [PATCH] remove a trace --- src/agenda_culturel/import_tasks/generic_extractors.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/agenda_culturel/import_tasks/generic_extractors.py b/src/agenda_culturel/import_tasks/generic_extractors.py index 9f4361c..6f339dd 100644 --- a/src/agenda_culturel/import_tasks/generic_extractors.py +++ b/src/agenda_culturel/import_tasks/generic_extractors.py @@ -214,6 +214,7 @@ class TwoStepsExtractor(Extractor): only_future=True, ignore_404=True ): + self.only_future = only_future self.now = datetime.datetime.now().date() self.set_header(url) @@ -241,7 +242,6 @@ class TwoStepsExtractor(Extractor): if ignore_404: logger.error(msg) else: - print("go") raise Exception(msg) else: # then extract event information from this html document