Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Hvornum <anton.feeds+github@gmail.com>2020-11-11 20:26:21 +0000
committerAnton Hvornum <anton.feeds+github@gmail.com>2020-11-11 20:26:21 +0000
commitcb6ab2c28ba9ae2088ae3f6a32720159469d550e (patch)
treeaf19b37013fe14bf8dd44dd4dbfb16f744a03a8e
parent092f2d3240697418185b210f3050d2de53ac2a20 (diff)
Logical issue with how I stripped the response. It overrode the None but never reverted it back.
-rw-r--r--examples/guided.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/guided.py b/examples/guided.py
index 84045b83..f1dff059 100644
--- a/examples/guided.py
+++ b/examples/guided.py
@@ -208,8 +208,8 @@ if nic:
gateway = None
dns = None
- if len(dns := input('Enter your DNS servers (space separated, blank for none): ').strip()):
- dns = dns.split(' ')
+ if len(dns_input := input('Enter your DNS servers (space separated, blank for none): ').strip()):
+ dns = dns_input.split(' ')
archinstall.storage['_guided']['network'] = {'nic': nic, 'dhcp': False, 'ip': ip, 'gateway' : gateway, 'dns' : dns}
else: