Lenty / SLiCAP_python

Open-source version of SLiCAP, implemented in python
Other
33 stars 15 forks source link

add case for LTSpice executable filename #50

Open ninja-lab opened 4 months ago

ninja-lab commented 4 months ago

I had to add

                      elif  os.path.exists(os.path.join(root,name,'XVIIx86.exe')):
                            cmd = os.path.join(root,name,'XVIIx86.exe')

in _find_LTSpice_wine() to get the installation to work. Otherwise it was throwing UnboundLocalError: local variable 'cmd' referenced before assignment