look for liblammps.dll in windows binary dir only if that directory exists
This commit is contained in:
@ -199,7 +199,7 @@ class lammps(object):
|
|||||||
elif any([f.startswith('liblammps') and f.endswith('.dll')
|
elif any([f.startswith('liblammps') and f.endswith('.dll')
|
||||||
for f in os.listdir(modpath)]):
|
for f in os.listdir(modpath)]):
|
||||||
lib_ext = ".dll"
|
lib_ext = ".dll"
|
||||||
elif any([f.startswith('liblammps') and f.endswith('.dll')
|
elif os.path.exists(winpath) and any([f.startswith('liblammps') and f.endswith('.dll')
|
||||||
for f in os.listdir(winpath)]):
|
for f in os.listdir(winpath)]):
|
||||||
lib_ext = ".dll"
|
lib_ext = ".dll"
|
||||||
modpath = winpath
|
modpath = winpath
|
||||||
|
|||||||
Reference in New Issue
Block a user