minor changes

This commit is contained in:
Ryan Hitchman 2010-08-10 13:38:09 -06:00
parent b5be0217a4
commit 761a012149
2 changed files with 2 additions and 2 deletions

View File

@ -55,7 +55,7 @@ def forget(inp, chan='', db=None):
db.execute("delete from memory where chan=? and word=lower(?)",
(chan, inp))
db.commit()
return 'forgot that "%s"' % data.replace('"', "''")
return 'forgot `%s`' % data.replace('`', "'")
else:
return "I don't know about that."

View File

@ -30,4 +30,4 @@ def suggest(inp, inp_unstripped=''):
out = suggestions[num - 1]
else:
out = random.choice(suggestions)
return '#%d: %s (%s)' % (int(out[2][0]) + 1, out[0], out[1])
return '#%d: %s' % (int(out[2][0]) + 1, out[0])