mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-25 05:14:40 +01:00
better error message
This commit is contained in:
parent
a4e876792a
commit
3292114e21
1 changed files with 1 additions and 2 deletions
|
|
@ -257,8 +257,7 @@ def parse_colorspace_from_filepath(
|
|||
"""
|
||||
if not colorspaces and not config_path:
|
||||
raise ValueError(
|
||||
"You need to provide `config_path` if you don't "
|
||||
"want to provide input `colorspaces`."
|
||||
"Must provide `config_path` if `colorspaces` is not provided."
|
||||
)
|
||||
|
||||
colorspaces = colorspaces or get_ocio_config_colorspaces(config_path)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue