From cb6ab2c28ba9ae2088ae3f6a32720159469d550e Mon Sep 17 00:00:00 2001 From: Anton Hvornum Date: Wed, 11 Nov 2020 20:26:21 +0000 Subject: Logical issue with how I stripped the response. It overrode the None but never reverted it back. --- examples/guided.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'examples') 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: -- cgit v1.2.3-70-g09d2