proper path to try to fix windows bug #6
This commit is contained in:
parent
cd10e9bbaa
commit
f673833fe9
@ -52,7 +52,7 @@ class PluginManager:
|
|||||||
for folder in self.plugin_dirs:
|
for folder in self.plugin_dirs:
|
||||||
print "Scanning plugin dir",folder
|
print "Scanning plugin dir",folder
|
||||||
for modname in os.listdir(folder):
|
for modname in os.listdir(folder):
|
||||||
path = folder+'/'+modname
|
path = os.path.join(folder, modname)
|
||||||
if '__init__.py' in os.listdir(path):
|
if '__init__.py' in os.listdir(path):
|
||||||
# Import the found module. Note that the last
|
# Import the found module. Note that the last
|
||||||
# parameter is important otherwise only the base
|
# parameter is important otherwise only the base
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user