1
0
Fork 0
mirror of https://github.com/fastogt/pyfastogt synced 2025-03-09 23:38:55 +00:00

Hide validate_email

This commit is contained in:
topilski 2018-03-18 11:24:31 +03:00
parent d30707432c
commit b839ec087a

View file

@ -7,7 +7,6 @@ import re
import shutil
import subprocess
import tarfile
from validate_email import validate_email
from urllib.request import urlopen
@ -35,7 +34,7 @@ class CompileInfo(object):
def is_valid_email(email: str) -> bool:
return validate_email(email, check_mx=True)
return validate_email.validate_email(email, check_mx=True)
def is_role_based_email(email: str) -> bool: