From fc86738ee3e3158bd3f52181d8655e7ebed02e1c Mon Sep 17 00:00:00 2001 From: Jean-Marie Favreau Date: Sun, 29 Dec 2024 17:15:59 +0100 Subject: [PATCH] Suppression d'une trace inutile --- src/agenda_culturel/models.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/agenda_culturel/models.py b/src/agenda_culturel/models.py index 9a29a40..734b5cc 100644 --- a/src/agenda_culturel/models.py +++ b/src/agenda_culturel/models.py @@ -1279,8 +1279,6 @@ class Event(models.Model): and event_structure["last_modified"] is not None ): d = datetime.fromisoformat(event_structure["last_modified"]) - if d.year == 2024 and d.month > 2: - logger.warning("last modified {}".format(d)) if d.tzinfo is None or d.tzinfo.utcoffset(d) is None: d = timezone.make_aware(d, timezone.get_default_timezone()) event_structure["modified_date"] = d