Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/deck.py
diff options
context:
space:
mode:
authorWalter Bender <walter@walter-laptop.(none)>2010-01-13 03:44:29 (GMT)
committer Walter Bender <walter@walter-laptop.(none)>2010-01-13 03:44:29 (GMT)
commit79ea82150672f76354c8961193587d471a0f5808 (patch)
treeb583c34e3d4fddc5c0481031a1b074a6f7e6de94 /deck.py
parent9857c102768274e8d54c0d91cf0b2ce2b6e6433a (diff)
added (90% of) word list editor
Diffstat (limited to 'deck.py')
-rw-r--r--deck.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/deck.py b/deck.py
index afe2620..8a14d0d 100644
--- a/deck.py
+++ b/deck.py
@@ -142,7 +142,8 @@ class Deck:
# Hide the deck.
def hide(self):
for c in self.cards:
- c.hide_card()
+ if c is not None:
+ c.hide_card()
# Return the length of the deck.
def count(self):