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