Correction d'un bug pendant l'import
This commit is contained in:
parent
7ff347ff38
commit
af240e4a89
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user