Update openpype/scripts/ocio_wrapper.py

Co-authored-by: Roy Nieterau <roy_nieterau@hotmail.com>
This commit is contained in:
Jakub Ježek 2023-10-03 13:27:14 +02:00 committed by GitHub
parent 2317ab057f
commit 774050eff3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -132,11 +132,11 @@ def _get_colorspace_data(config_path):
roles = config.getRoles()
if roles:
colorspace_data.update({
role[0]: {
role: {
"type": "role",
"colorspace": role[1]
"colorspace": colorspace
}
for role in roles
for (role, colorspace) in roles
})
return colorspace_data