Update base.py

Fix STIXJSONIncludeOptionalDefaultsEncoder call to super()
stix2.0
Emmanuelle Vargas-Gonzalez 2018-06-26 11:10:36 -04:00 committed by GitHub
parent 399a3a594e
commit bee537137b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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):