Debug off

This commit is contained in:
László Károlyi 2019-03-02 02:59:27 +01:00
parent 55dbed2b3a
commit ab88efe534
Signed by: karolyi
GPG key ID: 2DCAF25E55735BFE

View file

@ -78,10 +78,8 @@ class EmailValidator(object):
if not self.user_regex.match(user_part):
return False
print('X1', domain_part, domain_part in self.domain_blacklist)
if domain_part in self.domain_whitelist:
return True
print('X2', domain_part, domain_part in self.domain_blacklist)
if domain_part in self.domain_blacklist:
return False