Skip to content

Commit 20638db

Browse files
committed
[ModelicaSystem] fix error message
1 parent 2b95b51 commit 20638db

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
@@ -428,7 +428,7 @@ def model(
428428
libraries = []
429429

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

433433
# set variables
434434
self._model_name = name # Model class name

0 commit comments

Comments
 (0)