mirror of
https://github.com/domainaware/parsedmarc.git
synced 2026-05-04 19:15:25 +00:00
3.7.3 - Fix saving attachment from forensic sample to Elasticsearch
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
3.7.3
|
||||
-----
|
||||
|
||||
- Fix saving attachment from forensic sample to Elasticsearch
|
||||
|
||||
3.7.2
|
||||
-----
|
||||
|
||||
|
||||
@@ -43,7 +43,7 @@ import imapclient.exceptions
|
||||
import dateparser
|
||||
import mailparser
|
||||
|
||||
__version__ = "3.7.2"
|
||||
__version__ = "3.7.3"
|
||||
|
||||
logger = logging.getLogger(__name__)
|
||||
logger.setLevel(logging.INFO)
|
||||
|
||||
@@ -129,8 +129,8 @@ class _ForensicSampleDoc(InnerDoc):
|
||||
address=address))
|
||||
|
||||
def add_attachment(self, filename, content_type):
|
||||
self.attachments.append(filename=filename,
|
||||
content_type=content_type)
|
||||
self.attachments.append(_EmailAttachmentDoc(filename=filename,
|
||||
content_type=content_type))
|
||||
|
||||
|
||||
class _ForensicReportDoc(Document):
|
||||
|
||||
Reference in New Issue
Block a user