Merge pull request #861 from v4hn/no-locallib
only check a library folder if it actually existspull/863/head
commit
2a3c2e3a21
|
@ -205,6 +205,7 @@ def search_library():
|
|||
candidates = []
|
||||
# test every file
|
||||
for curfolder in [folder]+additional_dirs:
|
||||
if os.path.isdir(curfolder):
|
||||
for filename in os.listdir(curfolder):
|
||||
# our minimum requirement for candidates is that
|
||||
# they should contain 'assimp' somewhere in
|
||||
|
|
Loading…
Reference in New Issue