Dict: make dictclient reloadable

This commit is contained in:
James Lu 2017-09-29 16:16:25 -07:00
parent b6c75a70d3
commit 989ac5ee97

View File

@ -47,11 +47,13 @@ __contributors__ = {}
from . import config
from . import plugin
from imp import reload
from .local import dictclient
reload(plugin) # In case we're being reloaded.
reload(dictclient)
if world.testing:
from . import test
Class = plugin.Class
configure = config.configure