Skip to content

Commit f5defcf

Browse files
committed
[ModelicaSystem] fix error message
1 parent 6e154f3 commit f5defcf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

OMPython/ModelicaSystem.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -469,7 +469,7 @@ def model(
469469
libraries = []
470470

471471
if not isinstance(libraries, list):
472-
raise ModelicaSystemError(f"Invalid input type for lmodel: {type(libraries)} - list expected!")
472+
raise ModelicaSystemError(f"Invalid input type for libraries: {type(libraries)} - list expected!")
473473

474474
# set variables
475475
self._model_name = name # Model class name

0 commit comments

Comments
 (0)