Commit 066194d0 authored by Sébastiaan Versteeg's avatar Sébastiaan Versteeg
Browse files

Fix issue in pizzas, introduced in !1252

parent 0f4d7b18
...@@ -116,7 +116,7 @@ class PizzaEvent(models.Model): ...@@ -116,7 +116,7 @@ class PizzaEvent(models.Model):
elif not self.send_notification and self.end_reminder: elif not self.send_notification and self.end_reminder:
end_reminder = self.end_reminder end_reminder = self.end_reminder
self.end_reminder = None self.end_reminder = None
if not self.end_reminder.sent: if not end_reminder.sent:
end_reminder.delete() end_reminder.delete()
super().save(*args, **kwargs) super().save(*args, **kwargs)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment