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)
|
email_subject = re.sub(removeword, "", email_subject)
|
||||||
|
|
||||||
# Check if autopublish key is present and valid
|
# Check if autopublish key is present and valid
|
||||||
|
auto_publish = False
|
||||||
autopublish_key = "key:" + m2m_key
|
autopublish_key = "key:" + m2m_key
|
||||||
if autopublish_key in email_data:
|
if autopublish_key in email_data:
|
||||||
auto_publish = True
|
auto_publish = True
|
||||||
|
|
Loading…
Reference in New Issue