Skip to content

Commit a1c5287

Browse files
author
Mike Ellertson
committed
fix for issue using Notify websocket as per example in docs
1 parent 0f1fd3e commit a1c5287

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

bitsharesapi/websocket.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -237,6 +237,8 @@ def on_message(self, reply, *args, **kwargs):
237237
If we receive a ``notice``, we hand over post-processing and signalling of
238238
events to ``process_notice``.
239239
"""
240+
if isinstance(reply, websocket.WebSocketApp):
241+
reply = args[0]
240242
log.debug("Received message: %s" % str(reply))
241243
data = {}
242244
try:

0 commit comments

Comments
 (0)