Update memory.py

master
Emmanuelle Vargas-Gonzalez 2018-11-14 15:16:49 -05:00 committed by GitHub
parent d6435a18fa
commit 51df054f33
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -192,7 +192,7 @@ class MemorySink(DataSink):
_add(self, stix_data, self.allow_custom, version)
add.__doc__ = _add.__doc__
def save_to_file(self, file_path, encoding="utf-8"):
def save_to_file(self, file_path):
file_path = os.path.abspath(file_path)
all_objs = itertools.chain.from_iterable(