Skip to content

Commit 7cbdd2c

Browse files
committed
[OMCSessionPort] fix exception message
1 parent d42e051 commit 7cbdd2c

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
@@ -1057,7 +1057,7 @@ def run_model_executable(cmd_run_data: OMCSessionRunData) -> int:
10571057
Run the command defined in cmd_run_data. This class is defined as static method such that there is no need to
10581058
keep instances of over classes around.
10591059
"""
1060-
raise OMCSessionException(f"({self.__class__.__name__}) does not support run_model_executable()!")
1060+
raise OMCSessionException("OMCSessionPort does not support run_model_executable()!")
10611061

10621062
def get_log(self) -> str:
10631063
"""

0 commit comments

Comments
 (0)