forked from platypush/platypush
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
|
||||
|
||||
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)
|
||||
|
|
Loading…
Reference in a new issue