diff --git a/client/netwrapper.py b/client/netwrapper.py index 4ac8d85..20da3a1 100644 --- a/client/netwrapper.py +++ b/client/netwrapper.py @@ -102,7 +102,7 @@ class NetWrapper: sendjson = json.dumps({'type': 'CMD', 'source': self.network.own_addr, 'nonce': nonce, 'message': ct}).encode('UTF-8') self.network.send_msg(self.serverAddr,sendjson) - def recieveMessage(self, message: bytes) -> bytes: + def recieveMessage(self) -> bytes: status, msg = self.network.receive_msg(blocking=True) if not status: raise Exception('Network error during connection.')