Skip to content

Commit 477e711

Browse files
authored
Concat to bytes not str (#33)
1 parent ce138c8 commit 477e711

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Hologram/CustomCloud.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -325,7 +325,7 @@ def __incoming_connection_thread(self, clientsocket):
325325
clientsocket.settimeout(RECEIVE_TIMEOUT)
326326

327327
# Keep parsing the received data until timeout or receive no more data.
328-
recv = ''
328+
recv = b''
329329
while True:
330330
try:
331331
result = clientsocket.recv(MAX_RECEIVE_BYTES)

0 commit comments

Comments
 (0)