mirror of
https://github.com/Manuel83/craftbeerpi3
synced 2026-08-09 18:52:40 +02:00
Compare commits
3
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
25cf97da58 | ||
|
|
2b095c8c77 | ||
|
|
63f9f5468b |
+1
-1
@@ -34,7 +34,7 @@ show_menu () {
|
||||
if [ $? = 0 ]; then
|
||||
apt-get -y update; apt-get -y upgrade;
|
||||
fi
|
||||
|
||||
|
||||
apt-get -y install python-setuptools
|
||||
easy_install pip
|
||||
apt-get -y install python-dev
|
||||
|
||||
@@ -223,6 +223,8 @@ class FermenterView(BaseView):
|
||||
|
||||
def run(instance):
|
||||
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)
|
||||
fermenter.state = not fermenter.state
|
||||
|
||||
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user