mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-01-24 02:54:05 +01:00
Aka, Debug: cleanup imports
This commit is contained in:
parent
9ab908759a
commit
ff899f5158
@ -54,7 +54,6 @@ __url__ = '' # 'http://supybot.com/Members/yourname/Aka/download'
|
|||||||
from . import config
|
from . import config
|
||||||
from . import plugin
|
from . import plugin
|
||||||
from importlib import reload
|
from importlib import reload
|
||||||
from importlib import reload
|
|
||||||
# In case we're being reloaded.
|
# In case we're being reloaded.
|
||||||
reload(config)
|
reload(config)
|
||||||
reload(plugin)
|
reload(plugin)
|
||||||
|
@ -48,13 +48,11 @@ __contributors__ = {}
|
|||||||
from . import config
|
from . import config
|
||||||
from . import plugin
|
from . import plugin
|
||||||
from importlib import reload
|
from importlib import reload
|
||||||
if version_info[0] >= 3:
|
|
||||||
from importlib import reload
|
|
||||||
reload(plugin) # In case we're being reloaded.
|
reload(plugin) # In case we're being reloaded.
|
||||||
|
|
||||||
if world.testing:
|
if world.testing:
|
||||||
from . import test
|
from . import test
|
||||||
|
|
||||||
Class = plugin.Class
|
Class = plugin.Class
|
||||||
configure = config.configure
|
configure = config.configure
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user