From 9c88d23c0b41ceed66268d00a889e99a449edb59 Mon Sep 17 00:00:00 2001 From: Aneesh Dogra Date: Sat, 02 Feb 2013 15:25:34 +0000 Subject: Fix NUMBER_OF_OPTIONS error. --- 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 -- cgit v0.9.1