Commit c8d8fce74ecd219f403be6017636cbc88d59ef51
1 parent
b484e48d
Exists in
dev
Add makedirs in fn_context definition
Showing
1 changed file
with
1 additions
and
0 deletions
Show diff stats
src/core/pyros_django/obs_config/obsconfig_class.py
... | ... | @@ -311,6 +311,7 @@ class OBSConfig: |
311 | 311 | fn.pathnaming(values["pathnaming"]) |
312 | 312 | root_project_path = os.environ.get("PROJECT_ROOT_PATH", os.path.join(os.getcwd(), "../../../../")) |
313 | 313 | fn.rootdir = os.path.join(root_project_path, values["root_dir"]) |
314 | + os.makedirs(fn.rootdir, exist_ok=True) | |
314 | 315 | fn.extension = values["extension"] |
315 | 316 | return fn |
316 | 317 | ... | ... |