From 2a6bc2a306496f7bdc73a158debe106074d3cc0d Mon Sep 17 00:00:00 2001 From: Ethan Dalool Date: Thu, 10 Mar 2022 11:18:21 -0800 Subject: [PATCH] Include digits by default. --- voussoirkit/passwordy.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/voussoirkit/passwordy.py b/voussoirkit/passwordy.py index c88a3d3..38d9dd7 100644 --- a/voussoirkit/passwordy.py +++ b/voussoirkit/passwordy.py @@ -80,12 +80,14 @@ def passwordy_argparse(args): else: if not any([args.letters, args.digits, args.hex, args.binary, args.punctuation]): letters = True + digits = True else: letters = args.letters + digits = args.digits password = make_password( args.length, binary=args.binary, - digits=args.digits, + digits=digits, hex=args.hex, letters=letters, punctuation=args.punctuation,