We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c57b8bc commit 6d50036Copy full SHA for 6d50036
1 file changed
OMPython/ModelicaSystem.py
@@ -233,7 +233,7 @@ def run(self) -> int:
233
# set the process environment from the generated .bat file in windows which should have all the dependencies
234
path_bat = self._runpath / f"{self._modelname}.bat"
235
if not path_bat.exists():
236
- ModelicaSystemError("Batch file (*.bat) does not exist " + str(path_bat))
+ raise ModelicaSystemError("Batch file (*.bat) does not exist " + str(path_bat))
237
238
with open(path_bat, 'r') as file:
239
for line in file:
0 commit comments