fix custom STIX objects with nested dictionary error #184

stix2.0
Liam Sennitt 2018-06-01 13:49:32 +01:00
parent d67f2da0ea
commit dbe9c3f087
1 changed files with 2 additions and 0 deletions

View File

@ -203,6 +203,8 @@ def find_property_index(obj, properties, tuple_to_find):
tuple_to_find)
if val is not None:
return val
else:
return 0
def new_version(data, **kwargs):