2
0
mirror of https://github.com/xcat2/confluent.git synced 2024-11-22 01:22:00 +00:00

Fix confignet for python2

This commit is contained in:
Jarrod Johnson 2022-02-03 11:50:34 -05:00
parent 700fe1bc3b
commit 6769c171c1

View File

@ -317,7 +317,7 @@ if __name__ == '__main__':
myname = myname[0]
myname = socket.inet_pton(socket.AF_INET, myname)
for addr in myaddrs:
if myname == bytes(addr[1]):
if myname == addr[1].tobytes():
curridx = addr[-1]
if curridx in doneidxs:
continue