Skip to content

Commit af321eb

Browse files
committed
[ModelicaSystem] fix path in convertFmu2Mo()
1 parent f05a666 commit af321eb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

OMPython/ModelicaSystem.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1629,7 +1629,7 @@ def convertFmu2Mo(
16291629
fmu_path = pathlib.Path(fmu)
16301630

16311631
filename = self._requestApi(apiName='importFMU', entity=fmu_path.as_posix())
1632-
filepath = pathlib.Path(filename)
1632+
filepath = self._work_dir / filename
16331633

16341634
# report proper error message
16351635
if not filepath.is_file():

0 commit comments

Comments
 (0)