From 6024eddd2d8206fdd69032355e929c1c00e8384e Mon Sep 17 00:00:00 2001 From: Fabio Manganiello Date: Tue, 12 Feb 2019 22:58:22 +0100 Subject: [PATCH] on_open requires ws as a parameter --- platypush/backend/music/mopidy.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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