소스 검색

bugfix: async function wans't awaited

digital 7 년 전
부모
커밋
88edcf00c1
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      network/__init__.py

+ 1 - 1
network/__init__.py

@@ -143,7 +143,7 @@ class ConnHandler(ConnHandlerBase):
         """
         This method can be used to send a welcome message to the client.
         """
-        self.send("Welcome client, this is the server sending!")
+        await self.send("Welcome client, this is the server sending!")
 
     async def recv(self,block_size=None):
         """