mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
Update server/settings/conversion.py
Co-authored-by: Jakub Trllo <43494761+iLLiCiTiT@users.noreply.github.com>
This commit is contained in:
parent
e299b405fc
commit
8b14e79629
1 changed files with 2 additions and 3 deletions
|
|
@ -9,11 +9,10 @@ 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:
|
||||
ocio_config_profiles = imageio_overrides.get("ocio_config_profiles")
|
||||
if not ocio_config_profiles:
|
||||
return
|
||||
|
||||
ocio_config_profiles = imageio_overrides["ocio_config_profiles"]
|
||||
|
||||
for profile in ocio_config_profiles:
|
||||
if profile.get("type") != "product_name":
|
||||
continue
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue