Skip to content

Commit 28d4ab8

Browse files
committed
[ModelicaSystem] fix error message
1 parent 9bb46ef commit 28d4ab8

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
@@ -438,7 +438,7 @@ def model(
438438
libraries = []
439439

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

443443
# set variables
444444
self._model_name = name # Model class name

0 commit comments

Comments
 (0)