diff --git a/platypush/backend/music/mopidy.py b/platypush/backend/music/mopidy.py index 4356b493eb..ec5b503de3 100644 --- a/platypush/backend/music/mopidy.py +++ b/platypush/backend/music/mopidy.py @@ -192,7 +192,7 @@ class MusicMopidyBackend(Backend): return hndl def _on_open(self): - def hndl(): + def hndl(ws): self.logger.info('Mopidy websocket connected') return hndl