proper path to try to fix windows bug #6

This commit is contained in:
Marcos Pinto 2007-09-19 21:01:06 +00:00
parent cd10e9bbaa
commit f673833fe9
1 changed files with 1 additions and 1 deletions

View File

@ -52,7 +52,7 @@ class PluginManager:
for folder in self.plugin_dirs:
print "Scanning plugin dir",folder
for modname in os.listdir(folder):
path = folder+'/'+modname
path = os.path.join(folder, modname)
if '__init__.py' in os.listdir(path):
# Import the found module. Note that the last
# parameter is important otherwise only the base