mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-02 00:44:52 +01:00
Force str type for the values
Co-authored-by: Jakub Trllo <43494761+iLLiCiTiT@users.noreply.github.com>
This commit is contained in:
parent
b7d4a2a747
commit
a556f23932
1 changed files with 1 additions and 1 deletions
|
|
@ -350,7 +350,7 @@ def containerise(name,
|
|||
|
||||
for key, value in data:
|
||||
cmds.addAttr(container, longName=key, dataType="string")
|
||||
cmds.setAttr(container + "." + key, value, type="string")
|
||||
cmds.setAttr(container + "." + key, str(value), type="string")
|
||||
|
||||
main_container = cmds.ls(AVALON_CONTAINERS, type="objectSet")
|
||||
if not main_container:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue