Skip to content

Commit 259006f

Browse files
committed
Handle ask(parsed=False) for ZMQ
This fixes #53
1 parent 9777ed2 commit 259006f

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

OMPython/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@ def ask(self, question, opt=None, parsed=True):
210210
if parsed:
211211
res = self.execute(expression)
212212
else:
213-
res = self._omc.sendExpression(expression)
213+
res = self.sendExpression(expression, parsed=False)
214214
except Exception as e:
215215
logger.error("OMC failed: {0}, {1}, parsed={2}".format(question, opt, parsed))
216216
raise e

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ def generateIDL():
5454
OMPython_packages.extend(['OMPythonIDL', 'OMPythonIDL._OMCIDL', 'OMPythonIDL._OMCIDL__POA'])
5555

5656
setup(name='OMPython',
57-
version='3.0.1',
57+
version='3.0.2',
5858
description='OpenModelica-Python API Interface',
5959
author='Anand Kalaiarasi Ganeson',
6060
author_email='ganan642@student.liu.se',

0 commit comments

Comments
 (0)