Merge branch 'master' of https://git.kmlabz.com/BiztProtoBois/server
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Attila Szigeti 2021-04-25 14:38:08 +02:00
commit bfdec0e727

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)