diff --git a/src/agenda_culturel/import_tasks/generic_extractors.py b/src/agenda_culturel/import_tasks/generic_extractors.py index 02f808f..14acc44 100644 --- a/src/agenda_culturel/import_tasks/generic_extractors.py +++ b/src/agenda_culturel/import_tasks/generic_extractors.py @@ -265,7 +265,9 @@ class TwoStepsExtractorNoPause(TwoStepsExtractor): ignore_404=True ): if hasattr(self.downloader, "pause"): - pause = self.downloader.pause + pause = self.downloader.pause + else: + pause = False self.downloader.pause = False result = super().extract(content, url, url_human, default_values, published, only_future, ignore_404) self.downloader.pause = pause