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

Commit

Permalink
fix #88
Browse files Browse the repository at this point in the history
  • Loading branch information
saberuster committed Nov 26, 2018
1 parent 879ab01 commit 15474ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion stream/ws_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ def update(self, timeout=0):
elif op_code == ABNF.OPCODE_BINARY or op_code == ABNF.OPCODE_TEXT:
data = frame.data
if six.PY3:
data = data.decode("utf-8")
data = data.decode("utf-8", "replace")
if len(data) > 1:
channel = ord(data[0])
data = data[1:]
Expand Down

0 comments on commit 15474ef

Please sign in to comment.