Make email/cache_email optional
Build Docker Image for Actions / Check-If-Rebuild (push) Successful in 7s Details
Code Quality Test / Quality-Check (push) Successful in 6s Details
Build Docker Image for Actions / Build-Image (push) Has been skipped Details
Environment Setup Test / Setup (push) Successful in 1m41s Details

main
drunkendog 2023-12-20 23:48:14 +00:00
parent d848290237
commit 20ec385cd8
1 changed files with 2 additions and 2 deletions

View File

@ -22,8 +22,8 @@ def cache_email(email: str) -> None:
#PARSE_ARGS
parser = argparse.ArgumentParser()
parser.add_argument("domain")
parser.add_argument("email", default=None) # to not recache emails retreived from cache
parser.add_argument("cache_email", default=True)
parser.add_argument("email", nargs='?', default=None) # to not recache emails retreived from cache
parser.add_argument("cache_email", nargs='?', default=True)
args = parser.parse_args()
#CACHE