Update server_addon/nuke/client/ayon_nuke/api/plugin.py

Co-authored-by: Jakub Trllo <43494761+iLLiCiTiT@users.noreply.github.com>
This commit is contained in:
Jakub Ježek 2024-06-14 12:22:42 +02:00 committed by GitHub
parent 0e1c0c506f
commit a33758792c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -638,10 +638,7 @@ class ExporterReview(object):
from . import lib as opnlib
nuke_imageio = opnlib.get_nuke_imageio_settings()
if (
"baking_target" in nuke_imageio.keys()
and nuke_imageio["baking_target"]["enabled"]
):
if nuke_imageio["baking_target"]["enabled"]:
return nuke_imageio["baking_target"]
else:
# viewer is having display and view keys only and it is