print message
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Torma Kristóf 2021-04-26 13:35:32 +02:00
parent 8a4174c6e7
commit 7ba66b638b
Signed by: tormakris
GPG Key ID: DC83C4F2C41B1047

View File

@ -86,8 +86,8 @@ class NetWrapper:
plaintext = retcipher.decrypt(retciphertext).decode('UTF-8') plaintext = retcipher.decrypt(retciphertext).decode('UTF-8')
if plaintext != "OK": if plaintext != "OK":
raise Exception('Authentication error') raise Exception('Authentication error')
except Exception: except Exception as e:
print("Incorrect decryption") print(e)
def connectToServer(self): def connectToServer(self):
identStatus = self.identifyServer() identStatus = self.identifyServer()