fix: typo

tests
Raphaël Vinot 2018-05-07 15:48:48 +02:00
parent f1ba50a24c
commit c978bec48c
1 changed files with 2 additions and 1 deletions

View File

@ -149,7 +149,7 @@ class Mail2MISP():
body = re.sub(rf'^{ignoreline}.*\n?', '', body, flags=re.MULTILINE)
# Remove everything after the stopword from the body
self.clean_email_body = body.split(config.stopword, 1)[0]
body = body.split(self.config.stopword, 1)[0]
# Add tags to the event if keywords are found in the mail
for tag in self.config.tlptags:
@ -283,6 +283,7 @@ class Mail2MISP():
else:
related_ips = []
try:
syslog.syslog(hostname)
for rdata in dns.resolver.query(hostname, 'A'):
if debug:
syslog.syslog(str(rdata))