diff options
author | Olivier Gayot <duskcoder@gmail.com> | 2015-06-08 04:49:37 +0100 |
---|---|---|
committer | Olivier Gayot <duskcoder@gmail.com> | 2015-06-08 04:59:14 +0100 |
commit | abd360d9fd6dc1a77cd38c213bc9532d85973ca0 (patch) | |
tree | e873599c621e31829fd942982dfda2780258a9a7 /server.py | |
parent | 9d7f0754ff9db1645635647f4acd63aa38c173c5 (diff) |
the server now handles the language properly
Signed-off-by: Olivier Gayot <duskcoder@gmail.com>
Diffstat (limited to 'server.py')
-rwxr-xr-x | server.py | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -28,7 +28,8 @@ def message_received_handler(client, server, message): except KeyError: res = cao_error('field `game_name\' is required') else: - res = client['cao_client'].join_game(game_name) + lang = json_msg.get('lang') + res = client['cao_client'].join_game(game_name, lang) elif op == 'view_player_cards': res = client['cao_client'].view_player_cards() elif op == 'view_black_card': |