From 5a5b740e8aee4c216e869599b5acb65ac25659f3 Mon Sep 17 00:00:00 2001 From: krishnaavril Date: Mon, 11 May 2026 11:18:14 +0530 Subject: [PATCH 1/2] Fix(load_ociolook): strip extension before suffix match --- client/ayon_nuke/plugins/load/load_ociolook.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/ayon_nuke/plugins/load/load_ociolook.py b/client/ayon_nuke/plugins/load/load_ociolook.py index f9a4d6d883..6b55d74d08 100644 --- a/client/ayon_nuke/plugins/load/load_ociolook.py +++ b/client/ayon_nuke/plugins/load/load_ociolook.py @@ -176,7 +176,7 @@ def _create_group_node( ( file for file in all_files if file.endswith(extension) - and os.path.basename(file).endswith(lut_suffix) + and os.path.splitext(os.path.basename(file))[0].endswith(lut_suffix) ), None ) From c45b73cf67188bb75091ee18632cf98d2915a3b2 Mon Sep 17 00:00:00 2001 From: krishnaavril Date: Tue, 12 May 2026 00:35:12 +0530 Subject: [PATCH 2/2] Fixes LUT file matching to use correct file path --- client/ayon_nuke/plugins/load/load_ociolook.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/ayon_nuke/plugins/load/load_ociolook.py b/client/ayon_nuke/plugins/load/load_ociolook.py index 6b55d74d08..f0c77f6bdc 100644 --- a/client/ayon_nuke/plugins/load/load_ociolook.py +++ b/client/ayon_nuke/plugins/load/load_ociolook.py @@ -176,7 +176,7 @@ def _create_group_node( ( file for file in all_files if file.endswith(extension) - and os.path.splitext(os.path.basename(file))[0].endswith(lut_suffix) + and os.path.splitext(file)[0].endswith(lut_suffix) ), None )