weather: store input location in db, not fragment of location. fixes #82
This commit is contained in:
parent
adc6783f4f
commit
310863a2b9
|
@ -99,5 +99,5 @@ def weather(inp, nick='', server='', reply=None, db=None, api_key=None):
|
|||
|
||||
if inp and not dontsave:
|
||||
db.execute("insert or replace into weather(nick, loc) values (?,?)",
|
||||
(nick.lower(), loc))
|
||||
(nick.lower(), inp))
|
||||
db.commit()
|
||||
|
|
Loading…
Reference in New Issue