This commit is contained in:
Jakub Jezek 2023-12-08 13:06:19 +01:00
parent 4866f20f86
commit 764775bf00
No known key found for this signature in database
GPG key ID: 730D7C02726179A7

View file

@ -37,14 +37,15 @@ class ValidateColorspace(pyblish.api.InstancePlugin,
if not colorspaces.get("colorspaces"):
raise PublishValidationError(
title="Colorspace validation",
message=f"OCIO config '{config_path}' does not contain "
message=f"OCIO config '{config_path}' does not contain " # noqa
f"any colorspaces. This is error in config. "
"Contact your pipeline TD.",
description=f"OCIO config '{config_path}' does not "
f"contain any colorspaces. This is error "
"in config. Contact your pipeline TD."
)
config_colorspaces[config_path] = set(colorspaces["colorspaces"])
config_colorspaces[config_path] = set(
colorspaces["colorspaces"])
colorspace = colorspace_data["colorspace"]
self.log.debug(