Fix an issue in the regression DB generator that caused the very last file extension in the list returned by `assimp listext` to be ignored because of a trailing CRLF.
parent
fcdefc7b16
commit
0943936b31
|
@ -201,7 +201,7 @@ if __name__ == "__main__":
|
||||||
if ext_list is None:
|
if ext_list is None:
|
||||||
(ext_list, err) = subprocess.Popen([assimp_bin_path, "listext"],
|
(ext_list, err) = subprocess.Popen([assimp_bin_path, "listext"],
|
||||||
stdout=subprocess.PIPE).communicate()
|
stdout=subprocess.PIPE).communicate()
|
||||||
ext_list = str(ext_list).lower().split(";")
|
ext_list = str(ext_list.strip()).lower().split(";")
|
||||||
|
|
||||||
# todo: Fix for multi dot extensions like .skeleton.xml
|
# todo: Fix for multi dot extensions like .skeleton.xml
|
||||||
ext_list = list(filter(lambda f: not f in settings.exclude_extensions,
|
ext_list = list(filter(lambda f: not f in settings.exclude_extensions,
|
||||||
|
|
Loading…
Reference in New Issue