Typo
This commit is contained in:
parent
996aeba044
commit
ed9bd71e2b
4
main.py
4
main.py
@ -153,7 +153,7 @@ class AppRunner(threading.Thread):
|
|||||||
self.app.stdout.close()
|
self.app.stdout.close()
|
||||||
self.app.stderr.close()
|
self.app.stderr.close()
|
||||||
self.last_update = time.time()
|
self.last_update = time.time()
|
||||||
self.requestApp = 0
|
self.requestedApp = 0
|
||||||
|
|
||||||
def appTimedOut(self):
|
def appTimedOut(self):
|
||||||
return time.time()-self.last_update > config.NoDataTimeout
|
return time.time()-self.last_update > config.NoDataTimeout
|
||||||
@ -240,6 +240,6 @@ def apps_running():
|
|||||||
def index():
|
def index():
|
||||||
return open("html/index.html").read()
|
return open("html/index.html").read()
|
||||||
|
|
||||||
run(host="localhost", port=8000)
|
run(host="0.0.0.0", port=8000)
|
||||||
running = False
|
running = False
|
||||||
runner.join()
|
runner.join()
|
||||||
|
Loading…
Reference in New Issue
Block a user