From fa3f3c775848893bedefbcc5f00746429435d26b Mon Sep 17 00:00:00 2001 From: Olivier Gayot Date: Thu, 4 Jun 2015 19:33:03 +0100 Subject: fix no return when the black card is not revealed Signed-off-by: Olivier Gayot --- CAO_Game.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'CAO_Game.py') diff --git a/CAO_Game.py b/CAO_Game.py index 470eb71..d46bb3b 100644 --- a/CAO_Game.py +++ b/CAO_Game.py @@ -178,3 +178,5 @@ class CAO_Game(): if card is not None: return cao_success(self.black_desc[card]) + + return cao_error('The black card has not been revealed yet') -- cgit v1.2.3