@@ -171,7 +171,7 @@ def process_dir(d, outfile_results, zipin, result):
process_dir(fullpath, outfile_results, zipin, result)
continue
- if f in settings.files_to_ignore:
+ if f in settings.files_to_ignore or os.path.splitext(f)[1] in settings.exclude_extensions:
print("Ignoring " + f)
@@ -62,7 +62,7 @@ files_to_ignore = ["pond.0.ply"]
exclude_extensions = [
".lws", ".assbin", ".assxml", ".txt", ".md",
".jpeg", ".jpg", ".png", ".gif", ".tga", ".bmp",
- ".skeleton", ".skeleton.xml"
+ ".skeleton", ".skeleton.xml", ".license"
]
# -------------------------------------------------------------------------------