fix for expected arg 3
This commit is contained in:
@@ -193,7 +193,7 @@ class WebSocketApp(object):
|
|||||||
if data and len(data) >=2:
|
if data and len(data) >=2:
|
||||||
code = 256*six.byte2int(data[0]) + six.byte2int(data[1])
|
code = 256*six.byte2int(data[0]) + six.byte2int(data[1])
|
||||||
reason = data[2:].decode('utf-8')
|
reason = data[2:].decode('utf-8')
|
||||||
return [code,reason]
|
return [code,reason]
|
||||||
return [None,None]
|
return [None,None]
|
||||||
|
|
||||||
def _callback(self, callback, *args):
|
def _callback(self, callback, *args):
|
||||||
|
Reference in New Issue
Block a user