comment pszeudoprogramming meme
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
@@ -101,13 +101,13 @@ class NetWrapper:
|
||||
self.keyExchange()
|
||||
success = self.login()
|
||||
if success:
|
||||
return b"LINOK"
|
||||
return "LINOK".encode('UTF-8')
|
||||
else:
|
||||
self.logout()
|
||||
return b"LINERROR"
|
||||
return "LINERROR".encode('UTF-8')
|
||||
except Exception:
|
||||
self.logout()
|
||||
return b"LINERROR"
|
||||
return "LINERROR".encode('UTF-8')
|
||||
|
||||
def recieveMessage(self) -> bytes:
|
||||
status, msg = self.network.receive_msg(blocking=True)
|
||||
|
||||
Reference in New Issue
Block a user