From 477e71170ea3c34ebb3dc17f4bd6180105d367fc Mon Sep 17 00:00:00 2001 From: Dominic Amato Date: Mon, 4 May 2020 10:33:08 -0500 Subject: [PATCH] Concat to bytes not str (#33) --- Hologram/CustomCloud.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Hologram/CustomCloud.py b/Hologram/CustomCloud.py index 02b0c5e..99dc3ae 100644 --- a/Hologram/CustomCloud.py +++ b/Hologram/CustomCloud.py @@ -325,7 +325,7 @@ def __incoming_connection_thread(self, clientsocket): clientsocket.settimeout(RECEIVE_TIMEOUT) # Keep parsing the received data until timeout or receive no more data. - recv = '' + recv = b'' while True: try: result = clientsocket.recv(MAX_RECEIVE_BYTES)