From 7fe47baab30912c9fb5ef6ff8da9abb219d076ac Mon Sep 17 00:00:00 2001 From: Jarrod Johnson Date: Mon, 2 Mar 2020 16:42:42 -0500 Subject: [PATCH] Fix another python 3 expectation python3 needs this stringified from socket that provides bytes. --- confluent_server/confluent/credserver.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/confluent_server/confluent/credserver.py b/confluent_server/confluent/credserver.py index e3ba0f55..187bea7b 100644 --- a/confluent_server/confluent/credserver.py +++ b/confluent_server/confluent/credserver.py @@ -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']