fix server
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Torma Kristóf 2021-04-25 18:35:01 +02:00
parent 3ad96cf71a
commit 798b74e5d8
Signed by: tormakris
GPG Key ID: DC83C4F2C41B1047
1 changed files with 2 additions and 1 deletions

View File

@ -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: