diff options
author | Olivier Gayot <duskcoder@gmail.com> | 2015-06-04 19:33:03 +0100 |
---|---|---|
committer | Olivier Gayot <duskcoder@gmail.com> | 2015-06-04 19:33:03 +0100 |
commit | fa3f3c775848893bedefbcc5f00746429435d26b (patch) | |
tree | 3ea258a3588ac6e00370ebc9eaa689bd67b6f30a /CAO_Game.py | |
parent | cb481680e233ca7ffa8761ed3efff475dbd85bc6 (diff) |
fix no return when the black card is not revealed
Signed-off-by: Olivier Gayot <duskcoder@gmail.com>
Diffstat (limited to 'CAO_Game.py')
-rw-r--r-- | CAO_Game.py | 2 |
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') |