Skip to content

Commit 1e06897

Browse files
committed
??? [ModelicaSystem] fix path handling in convertMo2FMU
1 parent 934f815 commit 1e06897

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
@@ -1624,7 +1624,7 @@ def convertMo2Fmu(
16241624
properties = (f'version="{version}", fmuType="{fmuType}", '
16251625
f'fileNamePrefix="{fileNamePrefix}", includeResources={includeResourcesStr}')
16261626
fmu = self._requestApi(apiName='buildModelFMU', entity=self._model_name, properties=properties)
1627-
fmu_path = self._work_dir / fmu
1627+
fmu_path = self._session.omcpath(fmu).name
16281628

16291629
# report proper error message
16301630
if not fmu_path.is_file():

0 commit comments

Comments
 (0)