From 683824dc2f92cf7d9b428dc1eaff16d64fc86503 Mon Sep 17 00:00:00 2001 From: Martin Cech Date: Sun, 4 Feb 2018 21:28:28 -0500 Subject: [PATCH] fix the inverted logic --- verify.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/verify.py b/verify.py index 7dec171..ef896cb 100644 --- a/verify.py +++ b/verify.py @@ -11,7 +11,7 @@ def main(arguments): psl = PublicSuffixList() with open("disposable_email_blacklist.conf", "r") as 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.')