Skip to content

Commit e0ff3ed

Browse files
committed
[OMTypedParser] use a single entry point for OMTypedParser
1 parent 0135cdc commit e0ff3ed

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

OMPython/OMCSession.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151
import warnings
5252

5353
# TODO: replace this with the new parser
54-
from OMPython import OMTypedParser
54+
from OMPython.OMTypedParser import parseString as om_parser_typed
5555
from OMPython.OMParser import om_parser_basic
5656

5757

@@ -567,7 +567,7 @@ def sendExpression(self, command, parsed=True):
567567
else:
568568
result = self._omc.recv_string()
569569
if parsed is True:
570-
answer = OMTypedParser.parseString(result)
570+
answer = om_parser_typed(result)
571571
return answer
572572
else:
573573
return result

0 commit comments

Comments
 (0)