diff --git a/platypush/backend/music/mopidy.py b/platypush/backend/music/mopidy.py index ec5b503de3..8d02f58f14 100644 --- a/platypush/backend/music/mopidy.py +++ b/platypush/backend/music/mopidy.py @@ -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: