Skip to content

Commit

Permalink
define OMPython sessions as None earlier
Browse files Browse the repository at this point in the history
  • Loading branch information
adrpo committed Nov 21, 2024
1 parent 9218cfd commit 07fe70a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions testmodel.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,10 @@
msysEnvironment = args.msysEnvironment
addmsl = args.addmsl

# our OMPython sessions
omc = None
omc_new = None

# add openmodelica libraries path if the Modelica libraries are not found in the libraries path
MSLpath = ''
if addmsl and len(glob.glob('Modelica *', root_dir=libraries)) == 0:
Expand Down

0 comments on commit 07fe70a

Please sign in to comment.