From a522a6bdae5d2f905201cea2337e7d8a2cc4547a Mon Sep 17 00:00:00 2001 From: Jean-Marie Favreau Date: Sun, 2 Mar 2025 16:48:29 +0100 Subject: [PATCH] black --- src/agenda_culturel/models.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/agenda_culturel/models.py b/src/agenda_culturel/models.py index b98d19f..50ca80b 100644 --- a/src/agenda_culturel/models.py +++ b/src/agenda_culturel/models.py @@ -2045,7 +2045,9 @@ class Event(models.Model): or new_image ): same_imported.download_image() - same_imported.save(update_fields=["local_image"], noclean_other_versions=True) + same_imported.save( + update_fields=["local_image"], noclean_other_versions=True + ) to_update.append(same_imported) else: