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,
'online': state.online
})
if state.nodes:
for node in state.nodes._nodes.values():
node.trigger_status()
if state.nodes:
for node in state.nodes._nodes.values():
node.trigger_status()
#websocket calls
def on_message(self, message):