This commit is contained in:
Jiri Sindelar 2025-12-19 17:29:18 +01:00 committed by GitHub
commit 11ccb5da22
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1297,7 +1297,10 @@ def set_colorspace_data_to_representation(
# get one filename
filename = representation["files"]
if isinstance(filename, list):
filename = filename[0]
if filename:
filename = filename[0]
else:
filename = None
# get matching colorspace from rules
if colorspace is None: