This commit is contained in:
Fabio Manganiello 2018-12-24 11:30:10 +01:00
parent 755df6284a
commit 6a48a53c0d
1 changed files with 2 additions and 1 deletions

View File

@ -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)