Bug fixed

This commit is contained in:
Joshua Boniface 2018-05-31 23:05:27 -04:00
parent a9768559aa
commit f8bee525b7
1 changed files with 1 additions and 1 deletions

View File

@ -50,7 +50,7 @@ atexit.register(cleanup)
# Check if our node exists in Zookeeper, and create it if not
mynodestring = '/nodes/%s' % myhostname
if zk.exists('%s' + mynodestring):
if zk.exists('%s' % mynodestring):
print("Node is present in Zookeeper")
else:
zk.create('%s' % mynodestring, 'hypervisor'.encode('ascii'))