mirror of
https://github.com/xcat2/confluent.git
synced 2025-01-28 11:57:37 +00:00
Fix another python 3 expectation
python3 needs this stringified from socket that provides bytes.
This commit is contained in:
parent
3c1453c16b
commit
7fe47baab3
@ -68,7 +68,7 @@ class CredServer(object):
|
||||
if tlv[0] != 4:
|
||||
client.close()
|
||||
return
|
||||
echotoken = client.recv(tlv[1])
|
||||
echotoken = util.stringify(client.recv(tlv[1]))
|
||||
cfgupdate = {nodename: {'api.key': echotoken, 'api.armed': ''}}
|
||||
if apiarmed == 'continuous':
|
||||
del cfgupdate[nodename]['api.armed']
|
||||
|
Loading…
x
Reference in New Issue
Block a user