Merge remote-tracking branch 'origin/enhancement/OP-6154_Publishing-Luts' into enhancement/OP-6154_Publishing-Luts

This commit is contained in:
Jakub Jezek 2023-10-03 13:32:47 +02:00
commit c30fc498ee
No known key found for this signature in database
GPG key ID: 730D7C02726179A7
2 changed files with 4 additions and 4 deletions

View file

@ -59,7 +59,7 @@ class ValidateColorspaceLook(pyblish.api.InstancePlugin,
if not_set_keys:
message = (
f"Colorspace look attributes are not set: "
"Colorspace look attributes are not set: "
f"{', '.join(not_set_keys)}"
)
raise PublishValidationError(

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