From 5948a710eb4d42eb9945b12276f7c75eee31588f Mon Sep 17 00:00:00 2001 From: James Vega Date: Thu, 5 May 2005 22:53:29 +0000 Subject: [PATCH] Make supybot-wizard see the new-style plugins. --- scripts/supybot-wizard | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/supybot-wizard b/scripts/supybot-wizard index 0900e2707..a9688a698 100644 --- a/scripts/supybot-wizard +++ b/scripts/supybot-wizard @@ -69,7 +69,8 @@ def getPlugins(pluginDirs): continue plugins = sets.Set([]) for filename in filenames: - if filename.endswith('.py') and filename[0].isupper(): + if (filename.endswith('.py') or os.path.isdir(filename)) \ + and filename[0].isupper(): plugins.add(os.path.splitext(filename)[0]) plugins.discard('Owner') plugins = list(plugins)