From 7b46f95f1973befb71503680024ca3e0b4db1f9a Mon Sep 17 00:00:00 2001 From: James Vega Date: Sun, 6 Mar 2005 20:51:10 +0000 Subject: [PATCH] Better error messages when we can't load PySQLite. --- plugins/Karma/plugin.py | 2 +- plugins/QuoteGrabs/plugin.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/Karma/plugin.py b/plugins/Karma/plugin.py index 10eb6e897..ede077eab 100644 --- a/plugins/Karma/plugin.py +++ b/plugins/Karma/plugin.py @@ -52,7 +52,7 @@ class SqliteKarmaDB(object): import sqlite except ImportError: raise callbacks.Error, 'You need to have PySQLite installed to ' \ - 'use this plugin. Download it at ' \ + 'use Karma. Download it at ' \ '' filename = plugins.makeChannelFilename(self.filename, channel) if filename in self.dbs: diff --git a/plugins/QuoteGrabs/plugin.py b/plugins/QuoteGrabs/plugin.py index b26f07f53..51f3da836 100644 --- a/plugins/QuoteGrabs/plugin.py +++ b/plugins/QuoteGrabs/plugin.py @@ -70,7 +70,7 @@ class SqliteQuoteGrabsDB(object): import sqlite except ImportError: raise callbacks.Error, 'You need to have PySQLite installed to ' \ - 'use this plugin. Download it at ' \ + 'use QuoteGrabs. Download it at ' \ '' filename = plugins.makeChannelFilename(self.filename, channel) def p(s1, s2):