Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/archinstall.py
diff options
context:
space:
mode:
authorAnton Hvornum <anton.feeds+github@gmail.com>2020-03-16 17:22:42 +0100
committerAnton Hvornum <anton.feeds+github@gmail.com>2020-03-16 17:22:42 +0100
commit940869da6cccd1b4e80a04d9848c266cd4649838 (patch)
treee432a09a310862d4014f1970423dc706ce744ae3 /archinstall.py
parentcab78fee0a2428ae15586a46e877d945ad3f0976 (diff)
Fix for previous commit, indent issue and a missing else
Diffstat (limited to 'archinstall.py')
-rw-r--r--archinstall.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/archinstall.py b/archinstall.py
index ae945e5d..3cf23a2b 100644
--- a/archinstall.py
+++ b/archinstall.py
@@ -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)