Skip to content

Commit 34fad39

Browse files
committed
[ModelicaSystem] batFilePath
1 parent d205ef7 commit 34fad39

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
@@ -292,7 +292,7 @@ def _run_cmd(self, cmd: list, timeout: Optional[int] = None):
292292
# set the process environment from the generated .bat file in windows which should have all the dependencies
293293
batFilePath = pathlib.Path(self.tempdir) / f"{self.modelName}.bat"
294294
if not batFilePath.exists():
295-
ModelicaSystemError("Batch file (*.bat) does not exist " + batFilePath)
295+
ModelicaSystemError("Batch file (*.bat) does not exist " + str(batFilePath))
296296

297297
with open(batFilePath, 'r') as file:
298298
for line in file:

0 commit comments

Comments
 (0)