normalize workdir

This commit is contained in:
Jakub Trllo 2022-06-30 17:56:30 +02:00
parent b4daf3bf76
commit 728bfd6571

View file

@ -604,7 +604,10 @@ def get_workdir_with_workdir_data(
anatomy_filled = anatomy.format(workdir_data)
# Output is TemplateResult object which contain useful data
return anatomy_filled[template_key]["folder"]
path = anatomy_filled[template_key]["folder"]
if path:
path = os.path.normpath(path)
return path
def get_workdir(