From d526063dcf7f1816a6c78deb83449c0aa790dc23 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torma=20Krist=C3=B3f?= Date: Sun, 25 Apr 2021 13:24:23 +0200 Subject: [PATCH] linerror --- server/netwrapper.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/server/netwrapper.py b/server/netwrapper.py index 496caa7..8539fa6 100644 --- a/server/netwrapper.py +++ b/server/netwrapper.py @@ -107,8 +107,10 @@ class NetWrapper: return b"LINOK" else: self.logout() + return b"LINERROR" except Exception: self.logout() + return b"LINERROR" def recieveMessage(self) -> bytes: status, msg = self.network.receive_msg(blocking=True)