Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion OMPython/ModelicaSystem.py
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ def run(self) -> int:
# set the process environment from the generated .bat file in windows which should have all the dependencies
path_bat = self._runpath / f"{self._modelname}.bat"
if not path_bat.exists():
ModelicaSystemError("Batch file (*.bat) does not exist " + str(path_bat))
raise ModelicaSystemError("Batch file (*.bat) does not exist " + str(path_bat))

with open(path_bat, 'r') as file:
for line in file:
Expand Down
Loading