Skip to content

Commit

Permalink
Concat to bytes not str (hologram-io#33)
Browse files Browse the repository at this point in the history
  • Loading branch information
DomAmato authored and ekawahyu committed Dec 12, 2020
1 parent 7d59380 commit fb193fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Hologram/CustomCloud.py
Original file line number Diff line number Diff line change
Expand Up @@ -326,7 +326,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)
Expand Down

0 comments on commit fb193fc

Please sign in to comment.