core: fix path in get_local_path:
`local_dir` was not used in final path, resulting in workind dir used instead or actual local path.
This commit is contained in:
parent
d80c4e89dc
commit
34fa69661c
1 changed files with 1 additions and 1 deletions
|
|
@ -908,7 +908,7 @@ class LiberviaBackend(service.Service):
|
|||
local_dir = self.memory.config_get("", "local_dir")
|
||||
if not local_dir:
|
||||
raise exceptions.InternalError("local_dir must be set")
|
||||
path_elts = []
|
||||
path_elts = [local_dir]
|
||||
if component:
|
||||
path_elts.append(C.COMPONENTS_DIR)
|
||||
path_elts.append(regex.path_escape(dir_name))
|
||||
|
|
|
|||
Loading…
Reference in a new issue