Fix typo and spacing issue
parent
c04297a3be
commit
7f4ddba8bb
|
@ -18,6 +18,7 @@ def cache_email(email: str) -> None:
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
warnings.warn(e, Warning)
|
warnings.warn(e, Warning)
|
||||||
|
|
||||||
|
|
||||||
#PARSE_ARGS
|
#PARSE_ARGS
|
||||||
parser = argparse.ArgumentParser()
|
parser = argparse.ArgumentParser()
|
||||||
parser.add_argument("domain")
|
parser.add_argument("domain")
|
||||||
|
@ -27,7 +28,7 @@ args = parser.parse_args()
|
||||||
|
|
||||||
#CACHE
|
#CACHE
|
||||||
if args.cache_email is True and args.email is not None:
|
if args.cache_email is True and args.email is not None:
|
||||||
cache_email(email)
|
cache_email(args.email)
|
||||||
if args.email is None:
|
if args.email is None:
|
||||||
args.email = get_cached_email()
|
args.email = get_cached_email()
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue