mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-30 14:59:34 +01:00
Fixed bug #923562.
This commit is contained in:
parent
97dde42b61
commit
07d10bb223
@ -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):
|
||||||
"""
|
"""
|
||||||
|
Loading…
Reference in New Issue
Block a user