summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOlivier Gayot <duskcoder@gmail.com>2015-06-04 19:33:03 +0100
committerOlivier Gayot <duskcoder@gmail.com>2015-06-04 19:33:03 +0100
commitfa3f3c775848893bedefbcc5f00746429435d26b (patch)
tree3ea258a3588ac6e00370ebc9eaa689bd67b6f30a
parentcb481680e233ca7ffa8761ed3efff475dbd85bc6 (diff)
fix no return when the black card is not revealed
Signed-off-by: Olivier Gayot <duskcoder@gmail.com>
-rw-r--r--CAO_Game.py2
1 files changed, 2 insertions, 0 deletions
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')