some revert

This commit is contained in:
liris
2014-12-02 12:24:16 +09:00
parent f820493f33
commit 13f42877b8

View File

@@ -178,9 +178,8 @@ class WebSocketApp(object):
if six.PY3 and frame.opcode == ABNF.OPCODE_TEXT: if six.PY3 and frame.opcode == ABNF.OPCODE_TEXT:
data = data.decode("utf-8") data = data.decode("utf-8")
self._callback(self.on_message, data) self._callback(self.on_message, data)
# except Exception as e: except Exception as e:
# print(e) self._callback(self.on_error, e)
# self._callback(self.on_error, e)
finally: finally:
if thread: if thread:
event.set() event.set()