瀏覽代碼

Websocket constructor does not need an address anymore

Taddeus Kroes 13 年之前
父節點
當前提交
653fab90a5
共有 1 個文件被更改,包括 1 次插入2 次删除
  1. 1 2
      websocket.py

+ 1 - 2
websocket.py

@@ -14,9 +14,8 @@ WS_VERSION = '13'
 
 
 class WebSocket(object):
-    def __init__(self, sock, address, encoding=None):
+    def __init__(self, sock, encoding=None):
         self.sock = sock
-        self.address = address
         self.encoding = encoding
 
         self.received_close_params = None