mirror of
https://github.com/codex-storage/deluge.git
synced 2025-01-14 05:26:28 +00:00
Fix plugin sub-dir code to work in Windows.
This commit is contained in:
parent
925416dded
commit
f21eb1c3f4
2
setup.py
2
setup.py
@ -367,7 +367,7 @@ data = [('share/deluge/glade', glob.glob('glade/*.glade')),
|
||||
# New code to glob plugins and include subdirs:
|
||||
for o in os.walk('plugins'):
|
||||
path = o[0]
|
||||
if not path.count('/.'):
|
||||
if not path.count('/.') and not path.count('\\.'):
|
||||
items = o[2]
|
||||
for x in range(len(items)):
|
||||
items[x] = path + '/' + items[x]
|
||||
|
Loading…
x
Reference in New Issue
Block a user