Commit f6f92afc authored by D1plo1d's avatar D1plo1d

Merge branch 'Fumon-websocket_status_initialize' into experimental

parents 1bd51e92 62cda0d8
...@@ -146,6 +146,7 @@ class ConstructSocketHandler(tornado.websocket.WebSocketHandler): ...@@ -146,6 +146,7 @@ class ConstructSocketHandler(tornado.websocket.WebSocketHandler):
'jobs': prontserve.jobs.public_list(), 'jobs': prontserve.jobs.public_list(),
'continous_movement': False 'continous_movement': False
}}) }})
self.on_sensor_changed()
print "WebSocket opened. %i sockets currently open." % len(prontserve.listeners) print "WebSocket opened. %i sockets currently open." % len(prontserve.listeners)
def send(self, dict_args = {}, **kwargs): def send(self, dict_args = {}, **kwargs):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment