diff --git a/client/ayon_core/pipeline/colorspace.py b/client/ayon_core/pipeline/colorspace.py index 3566cbdc45..89b9bfce28 100644 --- a/client/ayon_core/pipeline/colorspace.py +++ b/client/ayon_core/pipeline/colorspace.py @@ -1275,7 +1275,12 @@ def set_colorspace_data_to_representation( project_settings = context_data["project_settings"] # get one filename - filename = representation["files"][0] if representation["files"] else None + filename = representation["files"] + if isinstance(filename, list): + if filename: + filename = filename[0] + else: + filename = None # get matching colorspace from rules if colorspace is None: