mirror of https://github.com/MISP/mail_to_misp
fixed unitialized var
parent
abfec60361
commit
568b533a63
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue