소스 검색

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