Skip to content
This repository was archived by the owner on Mar 13, 2022. It is now read-only.

Commit 15474ef

Browse files
committed
fix #88
1 parent 879ab01 commit 15474ef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stream/ws_client.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ def update(self, timeout=0):
176176
elif op_code == ABNF.OPCODE_BINARY or op_code == ABNF.OPCODE_TEXT:
177177
data = frame.data
178178
if six.PY3:
179-
data = data.decode("utf-8")
179+
data = data.decode("utf-8", "replace")
180180
if len(data) > 1:
181181
channel = ord(data[0])
182182
data = data[1:]

0 commit comments

Comments
 (0)