fix python start of text char

This commit is contained in:
Jonas Zeunert
2019-10-30 21:38:34 +01:00
parent bdba9fc7c3
commit 346377f0ec

View File

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