mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-01-11 04:32:36 +01:00
Fixed bug in supybot-wizard; exception was being raised when modules with no configure function were added.
This commit is contained in:
parent
8eaf73abf3
commit
d1bc7d462a
@ -92,7 +92,7 @@ def configurePlugin(module, onStart, afterConnect, advanced):
|
|||||||
print # Blank line :)
|
print # Blank line :)
|
||||||
myPrint("""Done!""")
|
myPrint("""Done!""")
|
||||||
else:
|
else:
|
||||||
onStart.append('load %s' % name)
|
onStart.append('load %s' % module.__name__)
|
||||||
|
|
||||||
def clearLoadedPlugins(onStart, plugins):
|
def clearLoadedPlugins(onStart, plugins):
|
||||||
for s in onStart:
|
for s in onStart:
|
||||||
|
Loading…
Reference in New Issue
Block a user