Update openpype/pipeline/colorspace.py

Co-authored-by: Jakub Trllo <43494761+iLLiCiTiT@users.noreply.github.com>
This commit is contained in:
Jakub Ježek 2023-01-31 11:58:38 +01:00 committed by GitHub
parent b8c7f067c3
commit 25b7d69aab
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -465,6 +465,6 @@ def _get_imageio_settings(project_settings, host_name):
# get image io from global and host_name
imageio_global = project_settings["global"]["imageio"]
# host is optional, some might not have any settings
imageio_host = project_settings[host_name].get("imageio", {})
imageio_host = project_settings.get(host_name, {}).get("imageio", {})
return imageio_global, imageio_host