Better error messages when we can't load PySQLite.

This commit is contained in:
James Vega 2005-03-06 20:51:10 +00:00
parent eb970c09d7
commit 7b46f95f19
2 changed files with 2 additions and 2 deletions

View File

@ -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 ' \
'<http://pysqlite.sf.net/>'
filename = plugins.makeChannelFilename(self.filename, channel)
if filename in self.dbs:

View File

@ -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 ' \
'<http://pysqlite.sf.net/>'
filename = plugins.makeChannelFilename(self.filename, channel)
def p(s1, s2):