Did some sensefull changes in main.py

This commit is contained in:
Johannes Wendel
2019-11-28 23:03:28 +01:00
parent f75776f788
commit 162b638040
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])