fix the script resource on windows

This commit is contained in:
Damien Churchill 2010-08-14 17:38:30 +01:00
parent e0eb0bd06a
commit e9ce506d1c
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): def getChild(self, path, request):
if hasattr(request, "lookup_path"): if hasattr(request, "lookup_path"):
request.lookup_path = os.path.join(request.lookup_path, path) request.lookup_path += '/' + path
else: else:
request.lookup_path = path request.lookup_path = path
return self return self