Correction d'un bug pendant l'import

This commit is contained in:
Jean-Marie Favreau 2024-01-07 10:34:10 +01:00
parent 7ff347ff38
commit af240e4a89

View File

@ -312,7 +312,7 @@ class Event(models.Model):
self.recurrence_dtstart = datetime.combine(sday, stime)
if self.recurrences is None:
if self.recurrences is None or len(self.recurrences.rrules) == 0:
if self.end_day is None:
self.dtend = None
else: