From e95774077ff0538d654711527796796d96e3a716 Mon Sep 17 00:00:00 2001 From: igorsky_x86 Date: Sun, 27 Jun 2021 19:35:54 +0300 Subject: [PATCH] fix issue #217 --- poloniex/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/poloniex/__init__.py b/poloniex/__init__.py index 6af9a7c6..408310de 100644 --- a/poloniex/__init__.py +++ b/poloniex/__init__.py @@ -719,7 +719,7 @@ def on_open(self, *ws): if 'sub' in self.channels[chan] and self.channels[chan]['sub']: self.subscribe(chan) - def on_message(self, data): + def on_message(self, app, data): if not self.jsonNums: message = _loads(data, parse_float=str) else: