Typo
This commit is contained in:
parent
755df6284a
commit
6a48a53c0d
1 changed files with 2 additions and 1 deletions
|
@ -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)
|
||||||
|
|
Loading…
Reference in a new issue