From 1f66b494d243e6665804533f275db89d45706a98 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Mon, 29 Apr 2019 09:12:20 +0200 Subject: [PATCH] Fix comparison --- pwnedornot.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pwnedornot.py b/pwnedornot.py index 69ec18e..b25773b 100755 --- a/pwnedornot.py +++ b/pwnedornot.py @@ -44,11 +44,11 @@ def main(): domains_list() elif check_domain: domain_check() - elif addr != None and domain != None: + elif addr is not None and domain is not None: filtered_check() - elif addr != None and domain == None: + elif addr is not None and domain is None: check() - elif file != None and domain == None: + elif file is not None and domain is None: print (G + '[+]' + C + ' Reading Emails Addresses from ' + W + '{}'.format(file) + '\n') with open(file) as dict: for line in dict: @@ -57,7 +57,7 @@ def main(): if addr != '': check() time.sleep(1.6) - elif file != None and domain != None: + elif file is not None and domain is not None: print (G + '[+]' + C + ' Reading Emails Addresses from ' + W + '{}'.format(file) + '\n') print (G + '[+]' + C + ' Domain : ' + W + domain) with open(file) as dict: