Browse Source

bugfix: fixed bugs introduced in the previous commit

digital 7 years ago
parent
commit
64f10ff97d
1 changed files with 1 additions and 1 deletions
  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