From f21eb1c3f4a027ad13a8081b0ad90d7d5c653afa Mon Sep 17 00:00:00 2001 From: Andrew Resch Date: Sun, 28 Oct 2007 10:34:40 +0000 Subject: [PATCH] Fix plugin sub-dir code to work in Windows. --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 587e86e05..4e0c8de73 100644 --- a/setup.py +++ b/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]