no node status during update

This commit is contained in:
j 2016-01-26 11:28:41 +05:30
parent 47942e204c
commit 2e04379838

View file

@ -41,10 +41,9 @@ class Handler(WebSocketHandler):
'id': settings.USER_ID, 'id': settings.USER_ID,
'online': state.online 'online': state.online
}) })
if state.nodes: if state.nodes:
for node in state.nodes._nodes.values(): for node in state.nodes._nodes.values():
node.trigger_status() node.trigger_status()
#websocket calls #websocket calls
def on_message(self, message): def on_message(self, message):