fix the script resource on windows

This commit is contained in:
Damien Churchill 2010-08-14 17:38:30 +01:00
parent 0e80b3ea0a
commit 5fd8628761
1 changed files with 1 additions and 1 deletions

View File

@ -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