This commit is contained in:
deckensteuerung 2018-08-24 20:14:32 +02:00
parent 996aeba044
commit ed9bd71e2b

View File

@ -153,7 +153,7 @@ class AppRunner(threading.Thread):
self.app.stdout.close()
self.app.stderr.close()
self.last_update = time.time()
self.requestApp = 0
self.requestedApp = 0
def appTimedOut(self):
return time.time()-self.last_update > config.NoDataTimeout
@ -240,6 +240,6 @@ def apps_running():
def index():
return open("html/index.html").read()
run(host="localhost", port=8000)
run(host="0.0.0.0", port=8000)
running = False
runner.join()