fix the script resource on windows
This commit is contained in:
parent
e0eb0bd06a
commit
e9ce506d1c
|
@ -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