From 798b74e5d83953919c3d03af92a62fc2a16fc489 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torma=20Krist=C3=B3f?= Date: Sun, 25 Apr 2021 18:35:01 +0200 Subject: [PATCH] fix server --- server/server.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/server/server.py b/server/server.py index f2b6cba..a8c8338 100644 --- a/server/server.py +++ b/server/server.py @@ -110,7 +110,8 @@ class Server: try: file = self.executor.getFileInCurrentDirectory(firstParam) self.networkInstance.sendMessage(file) - self.networkInstance.sendMessage("OK".encode('UTF-8')) + self.networkInstance.sendMessage("EOF".encode('UTF-8')) + #TODO varj OK vagy ERROR uzenetre except: self.networkInstance.sendMessage("ERROR".encode('UTF-8')) else: