forked from platypush/platypush
on_message requires two arguments
This commit is contained in:
parent
6024eddd2d
commit
e5c169a549
1 changed files with 1 additions and 1 deletions
|
@ -105,7 +105,7 @@ class MusicMopidyBackend(Backend):
|
|||
}
|
||||
|
||||
def _on_msg(self):
|
||||
def hndl(msg):
|
||||
def hndl(ws, msg):
|
||||
msg = json.loads(msg)
|
||||
event = msg.get('event')
|
||||
if not event:
|
||||
|
|
Loading…
Reference in a new issue