websocket.py: silence "Partial unmask" debug.

This commit is contained in:
Joel Martin 2011-08-31 15:36:36 -05:00
parent 0da91c7fdb
commit ada02f2c03
1 changed files with 1 additions and 1 deletions

View File

@ -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'),