From 568b533a636ddaa2dddca6efe3eb4f972aa0278b Mon Sep 17 00:00:00 2001 From: Sascha Rommelfangen Date: Tue, 3 Apr 2018 11:18:56 +0200 Subject: [PATCH] fixed unitialized var --- mail_to_misp.py | 1 + 1 file changed, 1 insertion(+) diff --git a/mail_to_misp.py b/mail_to_misp.py index bd25523..2092860 100755 --- a/mail_to_misp.py +++ b/mail_to_misp.py @@ -165,6 +165,7 @@ for removeword in removelist: email_subject = re.sub(removeword, "", email_subject) # Check if autopublish key is present and valid +auto_publish = False autopublish_key = "key:" + m2m_key if autopublish_key in email_data: auto_publish = True