mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-23 11:09:23 +01:00
We can still continue if we're unable to load a plugin.
This commit is contained in:
parent
2f15eb2418
commit
9d474f7824
@ -187,7 +187,7 @@ if __name__ == '__main__':
|
|||||||
sys.stderr.write('Failed to load plugin %s: %s\n' % (pluginName,e))
|
sys.stderr.write('Failed to load plugin %s: %s\n' % (pluginName,e))
|
||||||
sys.stderr.write('(pluginDirs: %s)' %
|
sys.stderr.write('(pluginDirs: %s)' %
|
||||||
conf.supybot.directories.plugins())
|
conf.supybot.directories.plugins())
|
||||||
sys.exit(-1)
|
continue
|
||||||
if hasattr(pluginModule, 'test'):
|
if hasattr(pluginModule, 'test'):
|
||||||
test.suites.append(load(pluginModule.test))
|
test.suites.append(load(pluginModule.test))
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user