on_open requires ws as a parameter

This commit is contained in:
Fabio Manganiello 2019-02-12 22:58:22 +01:00
parent c18515bd3c
commit 6024eddd2d
1 changed files with 1 additions and 1 deletions

View File

@ -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