Get dashboard working and upgrade bootstrap. Note: the bootstrap fixes will be coming in the followup CL

This commit is contained in:
Joseph Schorr 2015-02-17 19:15:54 -05:00
parent 79f39697fe
commit 524705b88c
18 changed files with 429 additions and 260 deletions

View file

@ -47,9 +47,12 @@ def ps():
}
json_string = json.dumps(data)
yield 'data: %s\n\n' % json_string
time.sleep(0.25)
time.sleep(1)
return Response(generator(), mimetype="text/event-stream")
try:
return Response(generator(), mimetype="text/event-stream")
except:
pass