Aka, Debug: cleanup imports

This commit is contained in:
James Lu 2020-01-26 10:42:43 -08:00
parent 9ab908759a
commit ff899f5158
2 changed files with 1 additions and 4 deletions

View File

@ -54,7 +54,6 @@ __url__ = '' # 'http://supybot.com/Members/yourname/Aka/download'
from . import config
from . import plugin
from importlib import reload
from importlib import reload
# In case we're being reloaded.
reload(config)
reload(plugin)

View File

@ -48,13 +48,11 @@ __contributors__ = {}
from . import config
from . import plugin
from importlib import reload
if version_info[0] >= 3:
from importlib import reload
reload(plugin) # In case we're being reloaded.
if world.testing:
from . import test
Class = plugin.Class
configure = config.configure