Explorar el Código

fix for fermenter view

pull/258/head
Juan Pablo Giménez hace 5 años
padre
commit
2fc012a815
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. +1
    -1
      modules/fermenter/__init__.py

+ 1
- 1
modules/fermenter/__init__.py Ver fichero

@@ -184,7 +184,7 @@ class FermenterView(BaseView):

inactive.state = 'A'
inactive.start = time.time()
inactive.direction = "C" if current_temp >= inactive.temp else "H"
inactive.direction = "C" if float(current_temp) >= float(inactive.temp) else "H"
FermenterStep.update(**inactive.__dict__)

self.postTargetTemp(id, inactive.temp)


Cargando…
Cancelar
Guardar