Update decode-spam-headers.py

updated line 1816 indentation, otherwise the script cannot be run
This commit is contained in:
JY 2021-11-21 16:20:18 +08:00 committed by GitHub
parent c914583797
commit eddfb5516f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1813,7 +1813,7 @@ class SMTPHeadersAnalysis:
@staticmethod @staticmethod
def gethostbyname(name, important = True): def gethostbyname(name, important = True):
name = name.lower() name = name.lower()
if not important or options['dont_resolve'] or len(name) == 0: if not important or options['dont_resolve'] or len(name) == 0:
return '' return ''