mirror of
https://git.deluge-torrent.org/deluge
synced 2025-08-09 09:58:39 +00:00
proper path to try to fix windows bug #6
This commit is contained in:
parent
cd10e9bbaa
commit
f673833fe9
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue