mirror of https://github.com/MISP/PyMISP
Added **kwargs to add_named_attribute call in add_attachment
parent
d55e9a2658
commit
8032e5f06d
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue