Merge pull request #151 from emmanvg/memory-store-typo

Fix on MemorySource.load_from_file()
stix2.0
Chris Lenk 2018-04-02 10:21:22 -04:00 committed by GitHub
commit 81e5fdd4cc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -295,5 +295,5 @@ class MemorySource(DataSource):
for stix_obj in stix_data["objects"]:
_add(self, stix_data=parse(stix_obj, allow_custom=self.allow_custom, version=stix_data["spec_version"]))
else:
_add(self, stix_data=parse(stix_obj, allow_custom=self.allow_custom, version=version))
_add(self, stix_data=parse(stix_data, allow_custom=self.allow_custom, version=version))
load_from_file.__doc__ = MemoryStore.load_from_file.__doc__