From 079259b57be8bed9fb40b470f84306aa23a568a7 Mon Sep 17 00:00:00 2001 From: Olivier Gayot Date: Fri, 5 Jun 2015 00:08:17 +0100 Subject: changed the structure of the notifications we now have the opcode and a 'content' section Signed-off-by: Olivier Gayot --- CAO_Game.py | 8 +++++--- 1 file 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) -- cgit v1.2.3