mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-25 05:14:40 +01:00
fix validation types
This commit is contained in:
parent
1cb2b660be
commit
65723400dd
1 changed files with 4 additions and 1 deletions
|
|
@ -243,7 +243,10 @@ class ValidateRenderSettings(pyblish.api.InstancePlugin):
|
|||
"Cannot get value of {}.{}".format(
|
||||
node, attribute_name))
|
||||
else:
|
||||
if value != render_value:
|
||||
# compare values as strings to get around various
|
||||
# datatypes possible in Settings and Render
|
||||
# Settings
|
||||
if str(value) != str(render_value):
|
||||
invalid = True
|
||||
cls.log.error(
|
||||
("Invalid value {} set on {}.{}. "
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue