Convert modules to new importer

This commit is contained in:
nemunaire 2015-02-11 18:12:39 +01:00
commit 28005e5654
23 changed files with 166 additions and 187 deletions

View file

@ -4,6 +4,7 @@
import imp
from nemubot import context
from nemubot.hooks import hook
nemubotversion = 3.4
@ -15,8 +16,7 @@ from . import UrbanDictionnary
from . import WFASearch
def load(context):
global CONF
WFASearch.CONF = CONF
WFASearch.CONF = context.config
def reload():
imp.reload(DDGSearch)