This commit is contained in:
parent
8a4174c6e7
commit
7ba66b638b
@ -86,8 +86,8 @@ class NetWrapper:
|
||||
plaintext = retcipher.decrypt(retciphertext).decode('UTF-8')
|
||||
if plaintext != "OK":
|
||||
raise Exception('Authentication error')
|
||||
except Exception:
|
||||
print("Incorrect decryption")
|
||||
except Exception as e:
|
||||
print(e)
|
||||
|
||||
def connectToServer(self):
|
||||
identStatus = self.identifyServer()
|
||||
|
Loading…
Reference in New Issue
Block a user