From 761a01214971d5592f0d5d3e750af963a525a973 Mon Sep 17 00:00:00 2001 From: Ryan Hitchman Date: Tue, 10 Aug 2010 13:38:09 -0600 Subject: [PATCH] minor changes --- plugins/remember.py | 2 +- plugins/suggest.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/remember.py b/plugins/remember.py index c4ee61d..97f035c 100644 --- a/plugins/remember.py +++ b/plugins/remember.py @@ -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." diff --git a/plugins/suggest.py b/plugins/suggest.py index 390d702..cff9a8d 100644 --- a/plugins/suggest.py +++ b/plugins/suggest.py @@ -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])