We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 879ab01 commit 15474efCopy full SHA for 15474ef
stream/ws_client.py
@@ -176,7 +176,7 @@ def update(self, timeout=0):
176
elif op_code == ABNF.OPCODE_BINARY or op_code == ABNF.OPCODE_TEXT:
177
data = frame.data
178
if six.PY3:
179
- data = data.decode("utf-8")
+ data = data.decode("utf-8", "replace")
180
if len(data) > 1:
181
channel = ord(data[0])
182
data = data[1:]
0 commit comments