Mercurial > libervia-backend
diff src/plugins/plugin_misc_radiocol.py @ 1257:83ed877541e3
plugin misc_room_game, radiocol, tarot: fixes bridge method "prepareRoom" declaration (add "async=True")
author | souliane <souliane@mailoo.org> |
---|---|
date | Wed, 22 Oct 2014 14:38:20 +0200 |
parents | 301b342c697a |
children | 83127a4c89ce |
line wrap: on
line diff
--- a/src/plugins/plugin_misc_radiocol.py Wed Oct 22 14:16:01 2014 +0200 +++ b/src/plugins/plugin_misc_radiocol.py Wed Oct 22 14:38:20 2014 +0200 @@ -69,7 +69,7 @@ RoomGame._init_(self, host, PLUGIN_INFO, (NC_RADIOCOL, RADIOC_TAG), game_init={'queue': [], 'upload': True, 'playing': None, 'playing_time': 0, 'to_delete': {}}) self.host = host - host.bridge.addMethod("radiocolLaunch", ".plugin", in_sign='asss', out_sign='', method=self.prepareRoom) + host.bridge.addMethod("radiocolLaunch", ".plugin", in_sign='asss', out_sign='', method=self.prepareRoom, async=True) host.bridge.addMethod("radiocolCreate", ".plugin", in_sign='sass', out_sign='', method=self.createGame) host.bridge.addMethod("radiocolSongAdded", ".plugin", in_sign='sss', out_sign='', method=self.radiocolSongAdded, async=True) host.bridge.addSignal("radiocolPlayers", ".plugin", signature='ssass') # room_jid, referee, players, profile