fix custom STIX objects with nested dictionary error #184
parent
d67f2da0ea
commit
dbe9c3f087
|
@ -203,6 +203,8 @@ def find_property_index(obj, properties, tuple_to_find):
|
||||||
tuple_to_find)
|
tuple_to_find)
|
||||||
if val is not None:
|
if val is not None:
|
||||||
return val
|
return val
|
||||||
|
else:
|
||||||
|
return 0
|
||||||
|
|
||||||
|
|
||||||
def new_version(data, **kwargs):
|
def new_version(data, **kwargs):
|
||||||
|
|
Loading…
Reference in New Issue