Commit ab4fcfe20642227e8c8ac94168fe76712109c4b9
1 parent
69077052
Exists in
dev
Change DATA path in obsconfig FileName
Showing
1 changed file
with
2 additions
and
1 deletions
Show diff stats
src/core/pyros_django/obs_config/obsconfig_class.py
@@ -616,7 +616,8 @@ class OBSConfig: | @@ -616,7 +616,8 @@ class OBSConfig: | ||
616 | elif values.get("pathnaming"): | 616 | elif values.get("pathnaming"): |
617 | fn.pathnaming(values["pathnaming"]) | 617 | fn.pathnaming(values["pathnaming"]) |
618 | root_project_path = os.environ.get("PROJECT_ROOT_PATH") | 618 | root_project_path = os.environ.get("PROJECT_ROOT_PATH") |
619 | - fn.rootdir = os.path.join(root_project_path, values["root_dir"]) | 619 | + data_path = os.path.join(root_project_path, "..", "DATA") |
620 | + fn.rootdir = os.path.join(data_path, values["root_dir"]) | ||
620 | fn.extension = values["extension"] | 621 | fn.extension = values["extension"] |
621 | self.fn = fn | 622 | self.fn = fn |
622 | 623 |