summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDamien Churchill <damoxc@gmail.com>2010-08-14 17:38:30 +0100
committerDamien Churchill <damoxc@gmail.com>2010-08-14 17:38:31 +0100
commit5fd86287615e82a063c044144187e11548078415 (patch)
tree1050de8e941f5fee31ed6839e0828e9275ab1d89
parent0e80b3ea0acb0fc44f9aca4a0b317f5fc04c5cd9 (diff)
downloaddeluge-5fd86287615e82a063c044144187e11548078415.tar.gz
deluge-5fd86287615e82a063c044144187e11548078415.tar.bz2
deluge-5fd86287615e82a063c044144187e11548078415.zip
fix the script resource on windows
-rw-r--r--deluge/ui/web/server.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/deluge/ui/web/server.py b/deluge/ui/web/server.py
index ba2c3d6b3..fa0000809 100644
--- a/deluge/ui/web/server.py
+++ b/deluge/ui/web/server.py
@@ -411,7 +411,7 @@ class ScriptResource(resource.Resource, component.Component):
def getChild(self, path, request):
if hasattr(request, "lookup_path"):
- request.lookup_path = os.path.join(request.lookup_path, path)
+ request.lookup_path += '/' + path
else:
request.lookup_path = path
return self