From 29bf0ae112f7ca693f896d31d9c7a12291efd77e Mon Sep 17 00:00:00 2001 From: mervai <56164115+mervai@users.noreply.github.com> Date: Mon, 27 Jul 2020 01:49:25 +1000 Subject: [PATCH] Reverse previous typo change (was incorrect) There is a getter function "is_active", for private variable "self._is_active". --- poker_ai/poker/player.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/poker_ai/poker/player.py b/poker_ai/poker/player.py index 0a0e3ce0..95e896c2 100644 --- a/poker_ai/poker/player.py +++ b/poker_ai/poker/player.py @@ -48,7 +48,7 @@ def __repr__(self): self.name, self.n_chips, self.n_bet_chips, - int(not self._is_active)) + int(not self.is_active)) def add_chips(self, chips: int): """Add chips."""