From 53161fabb47123940559740cb791b87bb85e77b8 Mon Sep 17 00:00:00 2001 From: Joseph HENRY Date: Fri, 17 Jan 2025 16:07:06 +0100 Subject: [PATCH] use single quotes for nuke addUserKnob error --- client/ayon_nuke/api/lib.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/ayon_nuke/api/lib.py b/client/ayon_nuke/api/lib.py index e7117d6..1e9468d 100644 --- a/client/ayon_nuke/api/lib.py +++ b/client/ayon_nuke/api/lib.py @@ -972,7 +972,7 @@ def add_button_clear_rendered(node, path): name = "clearRendered" label = "Clear Rendered" value = "import clear_rendered;\ - clear_rendered.clear_rendered(\"{}\")".format(path) + clear_rendered.clear_rendered('{}')".format(path) knob = nuke.PyScript_Knob(name, label, value) node.addKnob(knob)