Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/archinstall
diff options
context:
space:
mode:
authorSecondThundeR <awayfromgalaxy@gmail.com>2021-04-20 15:25:46 +0300
committerSecondThundeR <awayfromgalaxy@gmail.com>2021-04-20 15:25:46 +0300
commit3facc2e58d6b430e47d0eba42dc6d11879c36017 (patch)
tree8b4b9d6b246db50aa6828fdaa88c2bc7f688f005 /archinstall
parent06e846796d7fd18a0832b14291ef3fcf429dd214 (diff)
Fix TabError issue after uncommenting
Diffstat (limited to 'archinstall')
-rw-r--r--archinstall/lib/user_interaction.py18
1 files changed, 9 insertions, 9 deletions
diff --git a/archinstall/lib/user_interaction.py b/archinstall/lib/user_interaction.py
index 86d6e514..546ee3ee 100644
--- a/archinstall/lib/user_interaction.py
+++ b/archinstall/lib/user_interaction.py
@@ -195,15 +195,15 @@ def ask_to_configure_network():
try:
if len(gateway) == 0:
gateway = None
- else:
- ipaddress.ip_address(gateway)
- break
- except ValueError:
- log(
- "You need to enter a valid gateway (router) IP address.",
- level=LOG_LEVELS.Warning,
- fg='red'
- )
+ else:
+ ipaddress.ip_address(gateway)
+ break
+ except ValueError:
+ log(
+ "You need to enter a valid gateway (router) IP address.",
+ level=LOG_LEVELS.Warning,
+ fg='red'
+ )
dns = None
if len(dns_input := input('Enter your DNS servers (space separated, blank for none): ').strip()):