remove unwanted return
This commit is contained in:
parent
499f029ce5
commit
97bab2a248
@ -219,15 +219,11 @@ class Oven(threading.Thread):
|
||||
log.info("kiln must catch up, too cold, shifting schedule")
|
||||
self.start_time = self.start_time + \
|
||||
datetime.timedelta(seconds=self.time_step)
|
||||
return True
|
||||
# kiln too hot, wait for it to cool down
|
||||
if temp - self.target > config.kiln_must_catch_up_max_error:
|
||||
log.info("kiln must catch up, too hot, shifting schedule")
|
||||
self.start_time = self.start_time + \
|
||||
datetime.timedelta(seconds=self.time_step)
|
||||
return True
|
||||
|
||||
return False
|
||||
|
||||
def update_runtime(self):
|
||||
runtime_delta = datetime.datetime.now() - self.start_time
|
||||
|
||||
Loading…
Reference in New Issue
Block a user