mirror of https://github.com/MISP/mail_to_misp
clean-up
parent
d323b601b0
commit
47fa10cce8
|
@ -28,6 +28,7 @@ try:
|
|||
for part in msg.walk():
|
||||
if part.get_content_maintype() == 'multipart':
|
||||
continue
|
||||
if part.get_content_maintype() == 'text':
|
||||
email_data += part.get_payload(decode=True)
|
||||
email_subject += mail_subject
|
||||
stdin_used = True
|
||||
|
|
Loading…
Reference in New Issue