fix stupid bug involving channel case and ?remember

This commit is contained in:
Patrick Hurst 2010-08-17 23:14:28 -04:00
parent ee79576569
commit 3f326dcc22
1 changed files with 1 additions and 1 deletions

View File

@ -12,7 +12,7 @@ def db_init(db):
def get_memory(db, chan, word):
row = db.execute("select data from memory where chan=? and word=lower(?)",
row = db.execute("select data from memory where chan=lower(?) and word=lower(?)",
(chan, word)).fetchone()
if row:
return row[0]