From ada02f2c03aecf8b3d41c957f60943f8a63c0578 Mon Sep 17 00:00:00 2001 From: Joel Martin Date: Wed, 31 Aug 2011 15:36:36 -0500 Subject: [PATCH] websocket.py: silence "Partial unmask" debug. --- websocket.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/websocket.py b/websocket.py index e3b475b..a39be5e 100644 --- a/websocket.py +++ b/websocket.py @@ -305,7 +305,7 @@ Sec-WebSocket-Accept: %s\r b = numpy.bitwise_xor(data, mask).tostring() if f['length'] % 4: - print("Partial unmask") + #print("Partial unmask") mask = numpy.frombuffer(buf, dtype=numpy.dtype('B'), offset=f['hlen'], count=(f['length'] % 4)) data = numpy.frombuffer(buf, dtype=numpy.dtype('B'),