mirror of
https://github.com/Manuel83/craftbeerpi3
synced 2026-09-19 07:49:08 +02:00
Update __init__.py
This commit is contained in:
@@ -223,6 +223,8 @@ class FermenterView(BaseView):
|
|||||||
|
|
||||||
def run(instance):
|
def run(instance):
|
||||||
instance.run()
|
instance.run()
|
||||||
|
fermenter.state = not fermenter.state
|
||||||
|
cbpi.emit("UPDATE_FERMENTER", cbpi.cache.get(self.cache_key).get(id))
|
||||||
|
|
||||||
t = cbpi.socketio.start_background_task(target=run, instance=instance)
|
t = cbpi.socketio.start_background_task(target=run, instance=instance)
|
||||||
fermenter.state = not fermenter.state
|
fermenter.state = not fermenter.state
|
||||||
|
|||||||
Reference in New Issue
Block a user