From 253102b5c95a50deaebb212133ef67b9d0e5a495 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torma=20Krist=C3=B3f?= Date: Sun, 25 Apr 2021 18:26:01 +0200 Subject: [PATCH] fix cascading error --- client/netwrapper.py | 1 + 1 file changed, 1 insertion(+) diff --git a/client/netwrapper.py b/client/netwrapper.py index eb082ef..3a6dff2 100644 --- a/client/netwrapper.py +++ b/client/netwrapper.py @@ -125,3 +125,4 @@ class NetWrapper: return plaintext except Exception: print("Incorrect decryption") + return "ERROR".encode('UTF-8')