fix filename

This commit is contained in:
Martin Cech 2018-02-04 21:26:23 -05:00
parent 4f21e5c8a1
commit fbc6e99ba2
No known key found for this signature in database
GPG Key ID: F3D28C9A94E68B0E

View File

@ -9,7 +9,7 @@ from publicsuffixlist import PublicSuffixList
def main(arguments): def main(arguments):
psl = PublicSuffixList() psl = PublicSuffixList()
with open("disposable_email_blacklist", "r") as deb: with open("disposable_email_blacklist.conf", "r") as deb:
for line in deb: for line in deb:
if psl.publicsuffix(line) != line: if psl.publicsuffix(line) != line:
print(f'The following line is a public suffix: {line} - please remove it from the blacklist file. See https://publicsuffix.org for details.') print(f'The following line is a public suffix: {line} - please remove it from the blacklist file. See https://publicsuffix.org for details.')