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