Skip to content

Commit

Permalink
use single quotes for nuke addUserKnob error
Browse files Browse the repository at this point in the history
  • Loading branch information
Joseph HENRY committed Jan 17, 2025
1 parent aee0fbe commit 53161fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/ayon_nuke/api/lib.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit 53161fa

Please sign in to comment.