From c94074ccd72f6c5624a2d8faf838b27f07a64c30 Mon Sep 17 00:00:00 2001 From: "Andreas (@xAndy) Zimmermann" Date: Fri, 20 May 2022 20:56:45 +0200 Subject: [PATCH] fix typo --- shiftregister/app/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shiftregister/app/models.py b/shiftregister/app/models.py index 550d79f..ba248c2 100644 --- a/shiftregister/app/models.py +++ b/shiftregister/app/models.py @@ -130,7 +130,7 @@ class ShiftRegistration(models.Model): def can_cancel(self): if self.state != self.RegState.REGISTERED: - return false + return False return self.shift.start_at > ( timezone.now() + global_preferences_registry.manager()["helper__min_cancel_time"]