Correct bug in recursive dict loop. Fixes #334

master
Desai, Kartikey H 2020-02-21 15:26:19 -05:00
parent 1084c75d33
commit 796a4e20fa
1 changed files with 1 additions and 2 deletions

View File

@ -394,7 +394,6 @@ class _Observable(_STIXBase):
streamlined_obj_vals.append(temp_deep_copy)
else:
streamlined_obj_vals.append(kwargs[key])
if streamlined_obj_vals:
data = canonicalize(streamlined_obj_vals, utf8=False)
@ -450,7 +449,7 @@ def _recursive_stix_to_dict(input_dict):
elif isinstance(input_dict[key], list):
_recursive_stix_list_to_dict(input_dict[key])
else:
return
pass
def _recursive_stix_list_to_dict(input_list):