From d2e3328945e065adb4aa0d6a9ab5d350ee5b1472 Mon Sep 17 00:00:00 2001 From: Roy Nieterau Date: Wed, 11 Sep 2024 20:13:48 +0200 Subject: [PATCH] Fix variable redeclaration, port of https://github.com/ynput/OpenPype/pull/6330 --- client/ayon_nuke/api/lib.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/client/ayon_nuke/api/lib.py b/client/ayon_nuke/api/lib.py index a2987ab..66acfa7 100644 --- a/client/ayon_nuke/api/lib.py +++ b/client/ayon_nuke/api/lib.py @@ -1469,8 +1469,8 @@ def set_viewers_colorspace(self, imageio_nuke): nv.setInput(i, n) # set copied knobs - for k, v in copy_knobs.items(): - nv[k].setValue(v) + for knob_name, knob_value in copy_knobs.items(): + nv[knob_name].setValue(knob_value) # set viewerProcess nv["viewerProcess"].setValue(viewer_process)