diff --git a/openpype/hosts/traypublisher/plugins/publish/collect_explicit_colorspace.py b/openpype/hosts/traypublisher/plugins/publish/collect_explicit_colorspace.py index 8ea373f43d..8bab27d90a 100644 --- a/openpype/hosts/traypublisher/plugins/publish/collect_explicit_colorspace.py +++ b/openpype/hosts/traypublisher/plugins/publish/collect_explicit_colorspace.py @@ -21,10 +21,11 @@ class CollectColorspace(pyblish.api.InstancePlugin, def process(self, instance): values = self.get_attr_values_from_data(instance.data) colorspace = values.get("colorspace", None) - self.log.debug("colorspace: {}".format(colorspace)) - if not colorspace: + if colorspace is None: return + self.log.debug("Explicit colorspace set to: {}".format(colorspace)) + context = instance.context for repre in instance.data.get("representations", {}): self.set_representation_colorspace(