index : archinstall32 | |
Archlinux32 installer | gitolite user |
summaryrefslogtreecommitdiff |
-rw-r--r-- | examples/guided.py | 3 |
diff --git a/examples/guided.py b/examples/guided.py index 2f22bf6a..84045b83 100644 --- a/examples/guided.py +++ b/examples/guided.py @@ -204,7 +204,8 @@ if nic: fg='red' ) - if gateway = input('Enter your gateway (router) IP address or leave blank for none: ').strip() + if not len(gateway := input('Enter your gateway (router) IP address or leave blank for none: ').strip()): + gateway = None dns = None if len(dns := input('Enter your DNS servers (space separated, blank for none): ').strip()): |