瀏覽代碼

bugfix, ConnHandler was calling the __init__ method of the superclass of ConnHandlerBase, not of ConnHandler.

digital 7 年之前
父節點
當前提交
b404e32e0d
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      network/__init__.py

+ 1 - 1
network/__init__.py

@@ -115,7 +115,7 @@ class ConnHandler(object):
         initialized though!)
         """
     def __init__(self, socket, addr, server):
-        super(ConnHandlerBase, self).__init__(socket,addr,server)
+        super(ConnHandler, self).__init__(socket,addr,server)
         await self.welcome_client()
 
     async def disconnect(self):