forked from platypush/platypush
on_open requires ws as a parameter
This commit is contained in:
parent
c18515bd3c
commit
6024eddd2d
1 changed files with 1 additions and 1 deletions
|
@ -192,7 +192,7 @@ class MusicMopidyBackend(Backend):
|
||||||
return hndl
|
return hndl
|
||||||
|
|
||||||
def _on_open(self):
|
def _on_open(self):
|
||||||
def hndl():
|
def hndl(ws):
|
||||||
self.logger.info('Mopidy websocket connected')
|
self.logger.info('Mopidy websocket connected')
|
||||||
return hndl
|
return hndl
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue