mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-12-23 11:12:47 +01:00
Added Config to the default list of plugins loaded.
This commit is contained in:
parent
dc87ed26aa
commit
4df10116ed
@ -134,13 +134,15 @@ class PluginTestCase(unittest.TestCase):
|
||||
pass
|
||||
#OwnerModule = Owner.loadPluginModule('Owner')
|
||||
MiscModule = Owner.loadPluginModule('Misc')
|
||||
ConfigModule = Owner.loadPluginModule('Config')
|
||||
_ = Owner.loadPluginClass(self.irc, Owner)
|
||||
_ = Owner.loadPluginClass(self.irc, MiscModule)
|
||||
_ = Owner.loadPluginClass(self.irc, ConfigModule)
|
||||
if isinstance(self.plugins, str):
|
||||
self.plugins = [self.plugins]
|
||||
else:
|
||||
for name in self.plugins:
|
||||
if name not in ('Owner', 'Misc'):
|
||||
if name not in ('Owner', 'Misc', 'Config'):
|
||||
try:
|
||||
module = Owner.loadPluginModule(name)
|
||||
except Owner.Deprecated, e:
|
||||
|
Loading…
Reference in New Issue
Block a user