Did some sensefull changes in main.py

This commit is contained in:
Johannes Wendel
2019-11-28 23:03:28 +01:00
parent a2e11b0d43
commit 07536fe1c3
2 changed files with 13 additions and 6 deletions

View File

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