diff --git a/stix2/base.py b/stix2/base.py index 0fcc4c4..c26f60a 100644 --- a/stix2/base.py +++ b/stix2/base.py @@ -56,7 +56,7 @@ class STIXJSONIncludeOptionalDefaultsEncoder(json.JSONEncoder): elif isinstance(obj, _STIXBase): return dict(obj) else: - return super(STIXJSONEncoder, self).default(obj) + return super(STIXJSONIncludeOptionalDefaultsEncoder, self).default(obj) def get_required_properties(properties):