diff --git a/game.py b/game.py index b765a52..9e737a1 100644 --- a/game.py +++ b/game.py @@ -171,7 +171,7 @@ class Round(): return len(self.guesses) == 4 def get_last_stash(self): - return self.stashes[-1] if len(self.stashes) > 0 else None + return self.stashes[-1] if self.stashes else None def deal_starting_cards(self, cards: [], shuffler = shuffle): self.round_cards = cards.copy()