From 6a48a53c0d0d000e4711da255d75ed3eb7c7ea67 Mon Sep 17 00:00:00 2001 From: Fabio Manganiello Date: Mon, 24 Dec 2018 11:30:10 +0100 Subject: [PATCH] Typo --- platypush/backend/pushbullet/__init__.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/platypush/backend/pushbullet/__init__.py b/platypush/backend/pushbullet/__init__.py index a2196906..ff0b696b 100644 --- a/platypush/backend/pushbullet/__init__.py +++ b/platypush/backend/pushbullet/__init__.py @@ -98,6 +98,7 @@ class PushbulletBackend(Backend): return is_duplicate def on_push(self, ws, data): + print('***** {}'.format(data)) try: # Parse the push try: @@ -145,7 +146,7 @@ class PushbulletBackend(Backend): try: push = await self.ws.recv() except Exception as e: - self.on_error(ws, e) + self.on_error(self.ws, e) break self.on_push(self.ws, push)