Made this work on boxes that don't have sqlite.

This commit is contained in:
Jeremy Fincher 2004-08-19 17:10:24 +00:00
parent bfcff00380
commit 715bdcf6e3

View File

@ -31,6 +31,12 @@
from testsupport import *
try:
import sqlite
except ImportError:
sqlite = None
if sqlite is not None:
import supybot.plugins.Infobot
confirms = supybot.plugins.Infobot.confirms
dunnos = supybot.plugins.Infobot.dunnos