Skip to content

Commit 1f0e501

Browse files
committed
[ModelicaSystem] fix error message
1 parent e505584 commit 1f0e501

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
@@ -471,7 +471,7 @@ def model(
471471
libraries = []
472472

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

476476
# set variables
477477
self._model_name = name # Model class name

0 commit comments

Comments
 (0)