This commit is contained in:
Joshua Boniface 2018-05-31 23:29:36 -04:00
parent 59410bf2d9
commit c40c410033
1 changed files with 1 additions and 1 deletions

View File

@ -64,7 +64,7 @@ s_domain = dict()
node_list = [] node_list = []
@zk.ChildrenWatch('/nodes') @zk.ChildrenWatch('/nodes')
def updatenodes(new_node_list): def updatenodes(new_node_list, stat):
global node_list global node_list
node_list = new_node_list node_list = new_node_list
print('Node list: %s' % node_list) print('Node list: %s' % node_list)