From 65cd921a25d5a01ac253e0fbae1ff6b0dfab3891 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rapha=C3=ABl=20Vinot?= Date: Mon, 7 May 2018 19:35:34 +0200 Subject: [PATCH] fix: missing variable --- mail_to_misp.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mail_to_misp.py b/mail_to_misp.py index 60a8a4c..da5417b 100755 --- a/mail_to_misp.py +++ b/mail_to_misp.py @@ -139,6 +139,8 @@ class Mail2MISP(): self.misp_event.publish() self._find_inline_forward() + else: + self.clean_email_body = '' self._find_attached_forward() def process_body_iocs(self, email_object=None):