Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/grid.py
diff options
context:
space:
mode:
Diffstat (limited to 'grid.py')
-rw-r--r--grid.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/grid.py b/grid.py
index 9a7046b..bfc28c5 100644
--- a/grid.py
+++ b/grid.py
@@ -47,7 +47,7 @@ class Grid:
But only if there are still cards in the deck
and only 12 cards in the grid
"""
- if deck.empty() is False and self.cards_in_grid() == DEAL:
+ if not deck.empty() and self.cards_in_grid() == DEAL:
for c in range(0, COL):
i = self.grid.index(None)
self.grid[i] = deck.deal_next_card()