Skip to content

Commit c54789a

Browse files
committed
[ModelicaSystem] remove last print() command
1 parent 2f1f3b4 commit c54789a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

OMPython/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -801,7 +801,7 @@ def _run_cmd(self, cmd: list):
801801
# set the process environment from the generated .bat file in windows which should have all the dependencies
802802
batFilePath = os.path.join(self.tempdir, '{}.{}'.format(self.modelName, "bat")).replace("\\", "/")
803803
if (not os.path.exists(batFilePath)):
804-
print("Error: bat does not exist " + batFilePath)
804+
ModelicaSystemError("Batch file (*.bat) does not exist " + batFilePath)
805805

806806
with open(batFilePath, 'r') as file:
807807
for line in file:

0 commit comments

Comments
 (0)