simplification of condition

This commit is contained in:
Jakub Jezek 2023-03-28 22:30:48 +02:00
parent a1e57e54cd
commit f6ac8138b3
No known key found for this signature in database
GPG key ID: 730D7C02726179A7

View file

@ -2012,7 +2012,7 @@ class WorkfileSettings(object):
# get config data if imageio is enabled
config_data = None
if imageio_host.get("enabled") and imageio_host["enabled"] is True:
if imageio_host.get("enabled"):
# switch ocio config to custom config
workfile_settings["OCIO_config"] = "custom"
workfile_settings["colorManagement"] = "OCIO"