Merge branch 'master' of https://git.kmlabz.com/BiztProtoBois/server
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Attila Szigeti
2021-04-25 18:29:55 +02:00
3 changed files with 8 additions and 2 deletions

View File

@@ -40,6 +40,8 @@ class Server:
self.networkInstance.sendMessage("LINOK".encode('UTF-8'))
elif command == "LINERROR":
self.networkInstance.sendMessage("LINERROR".encode('UTF-8'))
elif command == "ERROR":
return None
parsedCommand = command.split(" ")
if len(parsedCommand) > 3:
self.networkInstance.sendMessage("ERROR".encode('UTF-8'))