fix stupid bug involving channel case and ?remember
This commit is contained in:
parent
ee79576569
commit
3f326dcc22
|
@ -12,7 +12,7 @@ def db_init(db):
|
||||||
|
|
||||||
|
|
||||||
def get_memory(db, chan, word):
|
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()
|
(chan, word)).fetchone()
|
||||||
if row:
|
if row:
|
||||||
return row[0]
|
return row[0]
|
||||||
|
|
Loading…
Reference in New Issue