mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-27 05:09:23 +01:00
Fix for jamessan's bug.
This commit is contained in:
parent
e368e90723
commit
aee02ddd81
@ -141,8 +141,8 @@ if __name__ == '__main__':
|
|||||||
if yn('Would you like to see a list of the available modules?') == 'y':
|
if yn('Would you like to see a list of the available modules?') == 'y':
|
||||||
print 'The available plugins are:\n %s' % '\n '.join(plugins)
|
print 'The available plugins are:\n %s' % '\n '.join(plugins)
|
||||||
if advanced and yn('Would you like to add plugins en masse first?') == 'y':
|
if advanced and yn('Would you like to add plugins en masse first?') == 'y':
|
||||||
plugins = something('What plugins? (separate by spaces)').split()
|
massPlugins = something('What plugins? (separate by spaces)').split()
|
||||||
for plugin in plugins:
|
for plugin in massPlugins:
|
||||||
moduleInfo = imp.find_module(plugin, conf.pluginDirs)
|
moduleInfo = imp.find_module(plugin, conf.pluginDirs)
|
||||||
try:
|
try:
|
||||||
module = imp.load_module(plugin, *moduleInfo)
|
module = imp.load_module(plugin, *moduleInfo)
|
||||||
|
Loading…
Reference in New Issue
Block a user