Update helper.py

Remove dead code.
pull/2035/head
Kim Kulling 2018-06-22 16:13:46 +02:00 committed by GitHub
parent 7b0f100fc3
commit 4a720511e4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 9 deletions

View File

@ -223,14 +223,6 @@ def search_library():
# our minimum requirement for candidates is that
# they should contain 'assimp' somewhere in
# their name
#if filename.lower().find('assimp')==-1 or\
# os.path.splitext(filename)[-1].lower() not in ext_whitelist: ### this line had bugs, failed to select files with extensions .so.x [.so.1 .so.2 .so.3.1]
# continue ### worked on simple extensions only. like- .so .dll
##### Modified Code --- to correctly select extension files #####
if filename.lower().find('assimp')==-1 :
continue
is_out=1