changed recv size

This commit is contained in:
Jonas Zeunert
2019-10-30 21:47:22 +01:00
parent 4275eec310
commit a353217c40

View File

@@ -48,7 +48,7 @@ class Networking:
def getInputEvent(self): def getInputEvent(self):
header = '' header = ''
while chr(2) not in header: while chr(2) not in header:
header += self.input_socket.recv() header += self.input_socket.recv(1)
length = int(header[:-1]) length = int(header[:-1])