diff --git a/src/core/pyros_django/obs_config/obsconfig_class.py b/src/core/pyros_django/obs_config/obsconfig_class.py index e27ed58..cf48990 100644 --- a/src/core/pyros_django/obs_config/obsconfig_class.py +++ b/src/core/pyros_django/obs_config/obsconfig_class.py @@ -309,7 +309,7 @@ class OBSConfig: elif values.get("pathnaming"): self.fn.pathnaming(values["pathnaming"]) root_project_path = os.environ.get("PROJECT_ROOT_PATH", os.path.join(os.getcwd(), "../../../../")) - data_path = os.path.join(root_project_path, "..", "..", "DATA") + data_path = os.path.join(root_project_path, "..", "DATA") self.fn.rootdir = os.path.join(data_path, values["root_dir"]) os.makedirs(self.fn.rootdir, exist_ok=True) self.fn.extension = values["extension"] @@ -622,7 +622,7 @@ class OBSConfig: elif values.get("pathnaming"): fn.pathnaming(values["pathnaming"]) root_project_path = os.environ.get("PROJECT_ROOT_PATH",os.path.join(os.getcwd(), "../../../../")) - data_path = os.path.join(root_project_path, "..", "..", "DATA") + data_path = os.path.join(root_project_path, "..", "DATA") fn.rootdir = os.path.join(data_path, values["root_dir"]) fn.extension = values["extension"] self.fn = fn -- libgit2 0.21.2