fixup! fixup! Adapt module to v13.0 and new usage

pull/1798/head
Akim Juillerat 2020-04-01 13:08:56 +02:00
parent 09206fb73e
commit ccab50ed20
1 changed files with 2 additions and 2 deletions

View File

@ -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)