Skip to content

Commit e92334f

Browse files
committed
[OMCSessionPort] fix exception message
1 parent ee5aa21 commit e92334f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

OMPython/OMCSession.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1028,7 +1028,7 @@ def run_model_executable(cmd_run_data: OMCSessionRunData) -> int:
10281028
Run the command defined in cmd_run_data. This class is defined as static method such that there is no need to
10291029
keep instances of over classes around.
10301030
"""
1031-
raise OMCSessionException(f"({self.__class__.__name__}) does not support run_model_executable()!")
1031+
raise OMCSessionException("OMCSessionPort does not support run_model_executable()!")
10321032

10331033
def get_log(self) -> str:
10341034
"""

0 commit comments

Comments
 (0)