Skip to content

Commit 3986581

Browse files
committed
[tools/dictparser] Prop 'values' replaces 'value'
1 parent 73edc26 commit 3986581

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

odml/tools/dict_parser.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,8 +88,8 @@ def get_properties(props_list):
8888
# Custom odML tuples require special handling
8989
# for save loading from file.
9090
if attr == "value" and prop.dtype and \
91-
prop.dtype.endswith("-tuple") and len(prop.value) > 0:
92-
prop_dict["value"] = "(%s)" % ";".join(prop.value[0])
91+
prop.dtype.endswith("-tuple") and len(prop.values) > 0:
92+
prop_dict["value"] = "(%s)" % ";".join(prop.values[0])
9393
else:
9494
# Always use the arguments key attribute name when saving
9595
prop_dict[i] = tag

0 commit comments

Comments
 (0)