mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
Merge 29d899783c into b6b2726795
This commit is contained in:
commit
11ccb5da22
1 changed files with 4 additions and 1 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue