We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cd3a9b9 commit 843cb2cCopy full SHA for 843cb2c
1 file changed
OMPython/ModelicaSystem.py
@@ -350,7 +350,7 @@ def __init__(
350
self._session = OMCSessionLocal(omhome=omhome)
351
352
# get OpenModelica version
353
- version_str = self._session.sendExpression("getVersion()", parsed=True)
+ version_str = self.sendExpression(expr="getVersion()")
354
self._version = self._parse_om_version(version=version_str)
355
# set commandLineOptions using default values or the user defined list
356
if command_line_options is None:
0 commit comments