From bc9f0ee39ed511f231858779314db3afde221e49 Mon Sep 17 00:00:00 2001 From: James Vega Date: Tue, 1 Feb 2005 13:57:51 +0000 Subject: [PATCH] Remove evil tabs! --- plugins/QuoteGrabs/plugin.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/plugins/QuoteGrabs/plugin.py b/plugins/QuoteGrabs/plugin.py index f1a053c5c..4dc371b08 100644 --- a/plugins/QuoteGrabs/plugin.py +++ b/plugins/QuoteGrabs/plugin.py @@ -171,11 +171,11 @@ class SqliteQuoteGrabsDB(object): def search(self, channel, text): db = self._getDb(channel) - cursor = db.cursor() + cursor = db.cursor() text = '%' + text + '%' - cursor.execute("""SELECT id, nick, quote FROM quotegrabs - WHERE quote LIKE %s - ORDER BY id DESC""", text) + cursor.execute("""SELECT id, nick, quote FROM quotegrabs + WHERE quote LIKE %s + ORDER BY id DESC""", text) if cursor.rowcount == 0: raise dbi.NoRecordError return [QuoteGrabsRecord(id, text=quote, by=nick)