From b3cba9293c229bfd7f1211b3ebd224d1a0bec40c Mon Sep 17 00:00:00 2001 From: Jean-Marie Favreau Date: Fri, 6 Dec 2024 11:28:20 +0100 Subject: [PATCH] =?UTF-8?q?On=20ajoute=20l'url=20probl=C3=A9matique?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/agenda_culturel/import_tasks/custom_extractors/fbevents.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/agenda_culturel/import_tasks/custom_extractors/fbevents.py b/src/agenda_culturel/import_tasks/custom_extractors/fbevents.py index ca74ec6..bf02a96 100644 --- a/src/agenda_culturel/import_tasks/custom_extractors/fbevents.py +++ b/src/agenda_culturel/import_tasks/custom_extractors/fbevents.py @@ -34,6 +34,7 @@ class CExtractor(TwoStepsExtractor): filename = directory + now.strftime("%Y%m%d_%H%M%S") + ".html" logger.warning("cannot find any event link in events page. Save content page in " + filename) with open(filename, "w") as text_file: + text_file.write("\n\n") text_file.write(content)