mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-23 11:09:23 +01:00
Allow a comma separator in the en masse plugin addition.
This commit is contained in:
parent
e1b0d7d8a4
commit
8a739241a1
@ -359,7 +359,7 @@ def main():
|
|||||||
in bulk like this, just press enter and we'll move on to the individual
|
in bulk like this, just press enter and we'll move on to the individual
|
||||||
plugin configuration.""" % utils.commaAndify(plugins))
|
plugin configuration.""" % utils.commaAndify(plugins))
|
||||||
massPlugins = anything('Separate plugin names by spaces:')
|
massPlugins = anything('Separate plugin names by spaces:')
|
||||||
for name in massPlugins.split():
|
for name in re.split(r',?\s+', massPlugins):
|
||||||
module = loadPlugin(name)
|
module = loadPlugin(name)
|
||||||
if module is not None:
|
if module is not None:
|
||||||
configurePlugin(module, onStart, afterConnect, advanced)
|
configurePlugin(module, onStart, afterConnect, advanced)
|
||||||
|
Loading…
Reference in New Issue
Block a user