mirror of
https://github.com/PiBrewing/craftbeerpi4.git
synced 2024-11-22 06:58:17 +01:00
fix to start timer directly after restart on step with remaining time
This commit is contained in:
parent
1d3298fc60
commit
3cf48fff04
2 changed files with 2 additions and 1 deletions
|
@ -1 +1 @@
|
||||||
__version__ = "4.0.2.0.a3"
|
__version__ = "4.0.2.0.a9"
|
||||||
|
|
|
@ -204,6 +204,7 @@ class FermenterStep(CBPiFermentationStep):
|
||||||
|
|
||||||
if self.fermenter is not None and self.timer is None:
|
if self.fermenter is not None and self.timer is None:
|
||||||
self.timer = Timer(self.fermentationtime ,on_update=self.on_timer_update, on_done=self.on_timer_done)
|
self.timer = Timer(self.fermentationtime ,on_update=self.on_timer_update, on_done=self.on_timer_done)
|
||||||
|
self.timer.is_running = False
|
||||||
elif self.fermenter is not None:
|
elif self.fermenter is not None:
|
||||||
try:
|
try:
|
||||||
if self.timer.is_running == True:
|
if self.timer.is_running == True:
|
||||||
|
|
Loading…
Reference in a new issue