mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-23 11:09:23 +01:00
Made this work on boxes that don't have sqlite.
This commit is contained in:
parent
bfcff00380
commit
715bdcf6e3
@ -31,6 +31,12 @@
|
|||||||
|
|
||||||
from testsupport import *
|
from testsupport import *
|
||||||
|
|
||||||
|
try:
|
||||||
|
import sqlite
|
||||||
|
except ImportError:
|
||||||
|
sqlite = None
|
||||||
|
|
||||||
|
if sqlite is not None:
|
||||||
import supybot.plugins.Infobot
|
import supybot.plugins.Infobot
|
||||||
confirms = supybot.plugins.Infobot.confirms
|
confirms = supybot.plugins.Infobot.confirms
|
||||||
dunnos = supybot.plugins.Infobot.dunnos
|
dunnos = supybot.plugins.Infobot.dunnos
|
||||||
|
Loading…
Reference in New Issue
Block a user