This commit is contained in:
Fabio Manganiello 2018-12-24 11:30:10 +01:00
parent 755df6284a
commit 6a48a53c0d

View file

@ -98,6 +98,7 @@ class PushbulletBackend(Backend):
return is_duplicate return is_duplicate
def on_push(self, ws, data): def on_push(self, ws, data):
print('***** {}'.format(data))
try: try:
# Parse the push # Parse the push
try: try:
@ -145,7 +146,7 @@ class PushbulletBackend(Backend):
try: try:
push = await self.ws.recv() push = await self.ws.recv()
except Exception as e: except Exception as e:
self.on_error(ws, e) self.on_error(self.ws, e)
break break
self.on_push(self.ws, push) self.on_push(self.ws, push)