fix python start of text char

This commit is contained in:
Jonas Zeunert
2019-10-30 21:38:34 +01:00
parent d324811649
commit 4275eec310

View File

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