Fix
This commit is contained in:
3
pvcd.py
3
pvcd.py
@@ -76,12 +76,9 @@ def updatenodes(new_node_list):
|
||||
for node in node_list:
|
||||
if node in t_node:
|
||||
t_node[node].updatenodelist(node_list)
|
||||
time.sleep(0.1)
|
||||
else:
|
||||
print("starting" + node)
|
||||
t_node[node] = NodeInstance.NodeInstance(node, node_list, zk);
|
||||
t_node[node].start()
|
||||
time.sleep(0.1)
|
||||
|
||||
node_state = t_node[node].getstate()
|
||||
print(node_state)
|
||||
|
Reference in New Issue
Block a user