fix the script resource on windows
This commit is contained in:
parent
0e80b3ea0a
commit
5fd8628761
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue