mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 12:54:40 +01:00
Merge branch 'release/0.2.x' into develop
This commit is contained in:
commit
68f7ce9e02
1 changed files with 1 additions and 1 deletions
|
|
@ -612,7 +612,7 @@ def get_load_color_for_family(family, settings=None):
|
|||
else:
|
||||
raise ValueError("Invalid color definition {}".format(str(color)))
|
||||
|
||||
if type(red, int):
|
||||
if isinstance(red, int):
|
||||
red = red / 255.0
|
||||
green = green / 255.0
|
||||
blue = blue / 255.0
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue