# HG changeset patch
# User Goffi <goffi@goffi.org>
# Date 1702127102 -3600
# Node ID 3b95704ab77762700103910221dfee5a3d9943f3
# Parent  cf0ea77f95374191c60ddbbb385e7357e6bbc6b1
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.

diff -r cf0ea77f9537 -r 3b95704ab777 libervia/backend/core/main.py
--- a/libervia/backend/core/main.py	Tue Dec 05 13:39:03 2023 +0100
+++ b/libervia/backend/core/main.py	Sat Dec 09 14:05:02 2023 +0100
@@ -908,7 +908,7 @@
         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))