diff options
author | Olivier Gayot <duskcoder@gmail.com> | 2015-06-05 00:08:17 +0100 |
---|---|---|
committer | Olivier Gayot <duskcoder@gmail.com> | 2015-06-05 00:08:17 +0100 |
commit | 079259b57be8bed9fb40b470f84306aa23a568a7 (patch) | |
tree | 3c1fc3a3688c1dbaf3e756614a35bc444640955a /CAO_Game.py | |
parent | 0c961c2a1252d0ee9d656516761b350f977d263d (diff) |
changed the structure of the notifications
we now have the opcode and a 'content' section
Signed-off-by: Olivier Gayot <duskcoder@gmail.com>
Diffstat (limited to 'CAO_Game.py')
-rw-r--r-- | CAO_Game.py | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/CAO_Game.py b/CAO_Game.py index 27a5567..c12442a 100644 --- a/CAO_Game.py +++ b/CAO_Game.py @@ -146,9 +146,11 @@ class CAO_Game(): p.send_notification({ 'op': 'received_card', - 'card': { - 'id': idx, - 'desc': card_desc, + 'content': { + 'card': { + 'id': idx, + 'desc': card_desc, + }, }, }) p.set_has_played(False) |