mirror of
https://github.com/Manuel83/craftbeerpi3
synced 2026-08-09 18:52:40 +02:00
Compare commits
3
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
37fa42cfbc | ||
|
|
2b095c8c77 | ||
|
|
63f9f5468b |
+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,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
|
||||||
|
|||||||
Executable → Regular
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
Flask==0.12.4
|
Flask==0.12.4
|
||||||
Flask-SocketIO==2.6.2
|
Flask-SocketIO==2.6.2
|
||||||
eventlet==0.19.0
|
eventlet==0.31.0
|
||||||
greenlet==0.4.10
|
greenlet==0.4.10
|
||||||
python-dateutil==2.5.3
|
python-dateutil==2.5.3
|
||||||
python-engineio==0.9.2
|
python-engineio==0.9.2
|
||||||
|
|||||||
Reference in New Issue
Block a user