Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAneesh Dogra <lionaneesh@gmail.com>2013-02-02 15:25:34 (GMT)
committer Aneesh Dogra <lionaneesh@gmail.com>2013-02-02 15:25:34 (GMT)
commit9c88d23c0b41ceed66268d00a889e99a449edb59 (patch)
tree7f45750e597b53c783ca531627d643da6aa9f245
parentd4443a32befdd1e126aa9709c924bf507b873856 (diff)
Fix NUMBER_OF_OPTIONS error.
-rw-r--r--ConstellationsFlashCards.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/ConstellationsFlashCards.py b/ConstellationsFlashCards.py
index 8a8c8b8..dcb13eb 100644
--- a/ConstellationsFlashCards.py
+++ b/ConstellationsFlashCards.py
@@ -575,6 +575,7 @@ class ChartDisplay(Gtk.DrawingArea):
cbq1.remove_all()
+ NUMBER_OF_CHOICES = 4
# Decide the NUMBER_OF_CHOICES
if correct_first_count > 0:
NUMBER_OF_CHOICES = int(10 * float(correct_first_count / \
@@ -582,8 +583,6 @@ class ChartDisplay(Gtk.DrawingArea):
if NUMBER_OF_CHOICES < 4:
NUMBER_OF_CHOICES = 4
- print NUMBER_OF_CHOICES, "\n\n\n"
-
# Create a list of NUMBER_OF_CHOICES names, initialized to ""
names = [""] * NUMBER_OF_CHOICES
numbers = [-1] * NUMBER_OF_CHOICES