mirror of
https://github.com/disposable-email-domains/disposable-email-domains.git
synced 2024-11-22 16:48:13 +08:00
fix filename
This commit is contained in:
parent
4f21e5c8a1
commit
fbc6e99ba2
@ -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.')
|
||||||
|
Loading…
Reference in New Issue
Block a user