Merge pull request #861 from v4hn/no-locallib

only check a library folder if it actually exists
pull/863/head
Kim Kulling 2016-04-22 11:54:40 +02:00
commit 2a3c2e3a21
1 changed files with 20 additions and 19 deletions

View File

@ -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