This commit is contained in:
parent
a5b77d0306
commit
d526063dcf
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user