fix python start of text char
This commit is contained in:
@@ -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])
|
||||||
|
|||||||
Reference in New Issue
Block a user