mirror of
https://git.deluge-torrent.org/deluge
synced 2025-04-20 03:24:54 +00:00
fix the script resource on windows
This commit is contained in:
parent
0e80b3ea0a
commit
5fd8628761
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue