Skip to content
This repository was archived by the owner on Oct 10, 2024. It is now read-only.

Commit ae8ad8b

Browse files
Merge pull request #77 from pypeclub/feature/pull_nuke-from_core
Merge branch 'cleanup/PYPE-493-nuke-pr-to-avalon-core2' into feature/pull_nuke-from_core
2 parents e92c682 + 31e578b commit ae8ad8b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

avalon/nuke/lib.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,7 @@ def fix_data_for_node_create(data):
239239
for k, v in data.items():
240240
if isinstance(v, six.text_type):
241241
data[k] = str(v)
242-
elif str(v).startswith("0x"):
242+
if str(v).startswith("0x"):
243243
data[k] = int(v, 16)
244244
return data
245245

0 commit comments

Comments
 (0)