Explorar el Código

bugfix: fixed bugs introduced in the previous commit

digital hace 7 años
padre
commit
64f10ff97d
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      network/__init__.py

+ 1 - 1
network/__init__.py

@@ -152,7 +152,7 @@ class ConnHandler(ConnHandlerBase):
         """
         if block_size == None:
             block_size = self.block_size
-        data_received = await self.socket.recv(block_size=block_size)
+        data_received = await self.socket.recv(block_size)
         data_decoded = data_received.decode("utf-8")
         return data_decoded