This commit is contained in:
Jeremy Fincher 2004-03-27 13:30:46 +00:00
parent 97dde42b61
commit 07d10bb223

View File

@ -107,7 +107,7 @@ class HangmanGame:
cur = db.cursor() cur = db.cursor()
cur.execute("""SELECT word FROM words ORDER BY random() LIMIT 1""") cur.execute("""SELECT word FROM words ORDER BY random() LIMIT 1""")
word = cur.fetchone()[0] word = cur.fetchone()[0]
return word return word.lower()
def letterPositions(self, letter, word): def letterPositions(self, letter, word):
""" """