Permalink
Browse files

removed quit option for randomize menu

  • Loading branch information...
1 parent 001411f commit 72b2052a47de4d085a13f5e37bdeb34cfcd6e711 Alexander Bernauer committed Sep 18, 2009
Showing with 2 additions and 2 deletions.
  1. +2 −2 voctrain.py
View
@@ -53,7 +53,7 @@ def display(level, word):
line()
def setLevel(level, word, newLevel):
- assert (newLevel > Config.minLevel and newLevel < Config.maxLevel), "new level is %d" % newLevel
+ assert (newLevel >= Config.minLevel and newLevel <= Config.maxLevel), "new level is %d" % newLevel
file = getFile(level, word)
newFile = getFile(newLevel, word)
@@ -86,7 +86,7 @@ def menu():
return Menu("randomize?", (
("yes", "y", yes),
("no", "n", lambda : True)),
- default='y')
+ default='y', quit=False)
play(menu)

0 comments on commit 72b2052

Please sign in to comment.