More fixes
This commit is contained in:
parent
7bcb2e0b00
commit
9ab02318c6
@ -99,6 +99,8 @@ class NodeInstance(threading.Thread):
|
||||
self.flush()
|
||||
|
||||
def setup_remote_node(self):
|
||||
pass
|
||||
|
||||
@zk.DataWatch(self.zkey + '/state')
|
||||
def watch_state(data, stat):
|
||||
self.state = data.decode('ascii')
|
||||
|
1
pvcd.py
1
pvcd.py
@ -82,6 +82,7 @@ def updatenodes(new_node_list):
|
||||
t_node[node].start()
|
||||
|
||||
node_state = t_node[node].getstate()
|
||||
print(node_state)
|
||||
if node_state == 'start':
|
||||
active_node_list.append(t_node[node].getname())
|
||||
elif node_state == 'flush':
|
||||
|
Loading…
x
Reference in New Issue
Block a user