From 784f06547880e16c68413df7c47b597fc118f08e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torma=20Krist=C3=B3f?= Date: Mon, 26 Apr 2021 22:41:37 +0200 Subject: [PATCH] return error --- server/server.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/server.py b/server/server.py index 414f5e2..94917f0 100644 --- a/server/server.py +++ b/server/server.py @@ -36,7 +36,7 @@ class Server: elif command == "LINERROR": self.networkInstance.sendMessage("ERROR".encode('UTF-8')) elif command == "ERROR": - return None + self.networkInstance.sendMessage("ERROR".encode('UTF-8')) parsedCommand = command.split(" ") if len(parsedCommand) > 3: self.networkInstance.sendMessage("ERROR".encode('UTF-8'))