diff --git a/base_time_window/models/time_window_mixin.py b/base_time_window/models/time_window_mixin.py index 4f8830af2..68b24ca70 100644 --- a/base_time_window/models/time_window_mixin.py +++ b/base_time_window/models/time_window_mixin.py @@ -107,7 +107,7 @@ class TimeWindowMixin(models.AbstractModel): return time(hour=hour, minute=minute) def get_start_time(self): - self.float_to_time(self.start) + return self.float_to_time(self.start) def get_end_time(self): - self.float_to_time(self.end) + return self.float_to_time(self.end)