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

This commit is contained in:
Torma Kristóf 2021-04-25 13:24:23 +02:00
parent a5b77d0306
commit d526063dcf
Signed by: tormakris
GPG Key ID: DC83C4F2C41B1047

View File

@ -107,8 +107,10 @@ class NetWrapper:
return b"LINOK" return b"LINOK"
else: else:
self.logout() self.logout()
return b"LINERROR"
except Exception: except Exception:
self.logout() self.logout()
return b"LINERROR"
def recieveMessage(self) -> bytes: def recieveMessage(self) -> bytes:
status, msg = self.network.receive_msg(blocking=True) status, msg = self.network.receive_msg(blocking=True)