From bcb32c2476959bd686964edf766e1d4d25095dcb Mon Sep 17 00:00:00 2001 From: syllebra Date: Fri, 8 Dec 2023 15:12:19 -1000 Subject: [PATCH] .CUBE file should now beeing listed correctly --- bilbox_post_processing.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bilbox_post_processing.py b/bilbox_post_processing.py index 9dd3cfc..9e20c22 100644 --- a/bilbox_post_processing.py +++ b/bilbox_post_processing.py @@ -10,7 +10,7 @@ def read_luts_dicts(luts_path): paths = [] for root, directories, files in os.walk(luts_path): for file in files: - if file.endswith('.cube'): + if file.lower().endswith('.cube'): file_path = os.path.join(root, file) rel_path = os.path.relpath(file_path, luts_path) paths.append(rel_path)