Skip to content

Commit e5c0197

Browse files
committed
[ModelicaSystem] fix path in convertFmu2Mo()
1 parent edb50bd commit e5c0197

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

OMPython/ModelicaSystem.py

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

15941594
filename = self._requestApi(apiName='importFMU', entity=fmu_path.as_posix())
1595-
filepath = pathlib.Path(filename)
1595+
filepath = self._work_dir / filename
15961596

15971597
# report proper error message
15981598
if not filepath.is_file():

0 commit comments

Comments
 (0)