Commit 26e955bebf6c9abaef8f183b522ed2c56d8f0ee6

Authored by Alexis Koralewski
1 parent 0a92b6fe
Exists in dev

Remove going on level too high for DATA folder

Showing 1 changed file with 2 additions and 2 deletions   Show diff stats
src/core/pyros_django/obs_config/obsconfig_class.py
... ... @@ -309,7 +309,7 @@ class OBSConfig:
309 309 elif values.get("pathnaming"):
310 310 self.fn.pathnaming(values["pathnaming"])
311 311 root_project_path = os.environ.get("PROJECT_ROOT_PATH", os.path.join(os.getcwd(), "../../../../"))
312   - data_path = os.path.join(root_project_path, "..", "..", "DATA")
  312 + data_path = os.path.join(root_project_path, "..", "DATA")
313 313 self.fn.rootdir = os.path.join(data_path, values["root_dir"])
314 314 os.makedirs(self.fn.rootdir, exist_ok=True)
315 315 self.fn.extension = values["extension"]
... ... @@ -622,7 +622,7 @@ class OBSConfig:
622 622 elif values.get("pathnaming"):
623 623 fn.pathnaming(values["pathnaming"])
624 624 root_project_path = os.environ.get("PROJECT_ROOT_PATH",os.path.join(os.getcwd(), "../../../../"))
625   - data_path = os.path.join(root_project_path, "..", "..", "DATA")
  625 + data_path = os.path.join(root_project_path, "..", "DATA")
626 626 fn.rootdir = os.path.join(data_path, values["root_dir"])
627 627 fn.extension = values["extension"]
628 628 self.fn = fn
... ...