mirror of
https://github.com/codex-storage/deluge.git
synced 2025-01-16 06:17:50 +00:00
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:
|
||||
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
|
||||
|
Loading…
x
Reference in New Issue
Block a user