mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 12:54:40 +01:00
Refactor imageio settings conversion logic
Simplified conditional check for ocio_config_profiles presence.
This commit is contained in:
parent
453995ac57
commit
6085b6bd82
1 changed files with 1 additions and 3 deletions
|
|
@ -9,9 +9,7 @@ def _convert_imageio_configs_0_4_5(overrides):
|
|||
imageio_overrides = overrides.get("imageio") or {}
|
||||
|
||||
# make sure settings are already converted to profiles
|
||||
if (
|
||||
"ocio_config_profiles" not in imageio_overrides
|
||||
):
|
||||
if "ocio_config_profiles" not in imageio_overrides:
|
||||
return
|
||||
|
||||
ocio_config_profiles = imageio_overrides["ocio_config_profiles"]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue