From 61192853526503e3810259faf198bbb49a099936 Mon Sep 17 00:00:00 2001 From: Eran Keydar Date: Fri, 3 Oct 2014 11:16:36 +0300 Subject: [PATCH] fix for expected arg 3 --- websocket/_app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/websocket/_app.py b/websocket/_app.py index fee5e81..68a1425 100644 --- a/websocket/_app.py +++ b/websocket/_app.py @@ -193,7 +193,7 @@ class WebSocketApp(object): if data and len(data) >=2: code = 256*six.byte2int(data[0]) + six.byte2int(data[1]) reason = data[2:].decode('utf-8') - return [code,reason] + return [code,reason] return [None,None] def _callback(self, callback, *args):