diff --git a/platypush/backend/music/mopidy.py b/platypush/backend/music/mopidy.py index ec5b503de..8d02f58f1 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: