Skip to content

Commit

Permalink
Concat to bytes not str (#33)
Browse files Browse the repository at this point in the history
  • Loading branch information
DomAmato authored May 4, 2020
1 parent ce138c8 commit 477e711
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 @@ -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)
Expand Down

0 comments on commit 477e711

Please sign in to comment.