let's try again

This commit is contained in:
Robert Bendun 2024-04-18 17:48:07 +02:00
parent cb91896b0d
commit 44a4acff7a

2
net.py
View File

@ -26,4 +26,4 @@ def recv(s: socket.socket):
read = s.recv(toread) read = s.recv(toread)
pickled += read pickled += read
toread -= len(pickled) toread -= len(pickled)
return pickle.loads(pickled[:length]) return pickle.loads(pickled)