suggestions from PR

This commit is contained in:
Jakub Jezek 2023-01-04 15:35:19 +01:00
parent 14b52ac625
commit ed89581dfb
No known key found for this signature in database
GPG key ID: 730D7C02726179A7
3 changed files with 4 additions and 2 deletions

View file

@ -533,6 +533,8 @@ class IntegrateAsset(pyblish.api.InstancePlugin):
if repre.get("colorspaceData"):
colorspace = repre["colorspaceData"]["colorspace"]
# replace spaces with underscores
# pipeline.colorspace.parse_colorspace_from_filepath
# is checking it with underscores too
colorspace = colorspace.replace(" ", "_")
template_data["colorspace"] = colorspace