@ -22,8 +22,8 @@ def recv(s: socket.socket):
pickled = b""
toread = length
while toread:
while toread > 0:
read = s.recv(toread)
pickled += read
toread -= len(pickled)
return pickle.loads(pickled)
return pickle.loads(pickled[:length])
The note is not visible to the blocked user.