We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 383f820 commit fd86471Copy full SHA for fd86471
Examples/generate_icons.py
@@ -39,14 +39,8 @@
39
from optparse import OptionParser
40
41
import svgwrite
42
-try:
43
- from OMPython import OMCSession
44
- omc = OMCSession()
45
- print("Using CORBA")
46
-except ImportError:
47
- from OMPython import OMCSessionZMQ
48
- omc = OMCSessionZMQ()
49
- print("No CORBA interface found, using ZMQ instead")
+from OMPython import OMCSessionZMQ
+omc = OMCSessionZMQ()
50
51
# OpenModelica setup commands
52
OMC_SETUP_COMMANDS = ['setCommandLineOptions("-d=nogen,noevalfunc")']
0 commit comments