From 8032e5f06df8fba984f198be61c6f5e2fd383a8c Mon Sep 17 00:00:00 2001 From: tssbo82 Date: Mon, 9 Oct 2017 15:54:20 -0400 Subject: [PATCH] Added **kwargs to add_named_attribute call in add_attachment --- pymisp/api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pymisp/api.py b/pymisp/api.py index 41b0130..00e8b56 100644 --- a/pymisp/api.py +++ b/pymisp/api.py @@ -535,7 +535,7 @@ class PyMISP(object): encodedData = base64.b64encode(fileData).decode("utf-8") # Send it on its way - return self.add_named_attribute(event, 'attachment', filename, category, to_ids, comment, distribution, proposal, data=encodedData) + return self.add_named_attribute(event, 'attachment', filename, category, to_ids, comment, distribution, proposal, data=encodedData, **kwargs) def add_regkey(self, event, regkey, rvalue=None, category='Artifacts dropped', to_ids=True, comment=None, distribution=None, proposal=False, **kwargs): if rvalue: