Fix for previous commit, indent issue and a missing else
This commit is contained in:
parent
cab78fee0a
commit
940869da6c
|
|
@ -564,7 +564,8 @@ def cleanup_args(*positionals, **kwargs):
|
|||
if not args['unattended']:
|
||||
if 'input_redirect' in kwargs:
|
||||
args[key] = kwargs['input_redirect'](key)
|
||||
args[key] = input(f'Enter a value for {key}: ')
|
||||
else:
|
||||
args[key] = input(f'Enter a value for {key}: ')
|
||||
else:
|
||||
args[key] = random_string(32)
|
||||
elif args[key] == '<RND_STR>': args[key] = random_string(32)
|
||||
|
|
|
|||
Loading…
Reference in New Issue