diff --git a/server/server.py b/server/server.py index ae7238d..4eeecbf 100644 --- a/server/server.py +++ b/server/server.py @@ -33,10 +33,13 @@ class Server: if command == "LINOK": self.login(self.networkInstance.homeDirectory) self.networkInstance.sendMessage("OK".encode('UTF-8')) + return None elif command == "LINERROR": self.networkInstance.sendMessage("ERROR".encode('UTF-8')) + return None elif command == "ERROR": self.networkInstance.sendMessage("ERROR".encode('UTF-8')) + return None parsedCommand = command.split(" ") if len(parsedCommand) > 3: self.networkInstance.sendMessage("ERROR".encode('UTF-8'))