From d1bc7d462a57f5f2e132cf38a4b4807f92bbb75e Mon Sep 17 00:00:00 2001 From: Jeremy Fincher Date: Wed, 8 Oct 2003 20:52:38 +0000 Subject: [PATCH] Fixed bug in supybot-wizard; exception was being raised when modules with no configure function were added. --- scripts/supybot-wizard.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/supybot-wizard.py b/scripts/supybot-wizard.py index b1303f8b1..329dbacc2 100755 --- a/scripts/supybot-wizard.py +++ b/scripts/supybot-wizard.py @@ -92,7 +92,7 @@ def configurePlugin(module, onStart, afterConnect, advanced): print # Blank line :) myPrint("""Done!""") else: - onStart.append('load %s' % name) + onStart.append('load %s' % module.__name__) def clearLoadedPlugins(onStart, plugins): for s in onStart: