Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authoradvaithm <advaith.madhukar@gmail.com>2021-04-14 14:21:53 +0530
committeradvaithm <advaith.madhukar@gmail.com>2021-04-14 14:21:53 +0530
commit78a9f0077e570e2f6ca4afed7f7153510522b10e (patch)
tree624198918bd79f6ff376d251cf191534ad560d8f /examples
parent8e9a09a8ff9588490375a26013777d6920300744 (diff)
fixed line 249
Diffstat (limited to 'examples')
-rw-r--r--examples/guided.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/guided.py b/examples/guided.py
index 1af57fd6..6b8a36df 100644
--- a/examples/guided.py
+++ b/examples/guided.py
@@ -291,7 +291,7 @@ def perform_installation(mountpoint):
if installation.minimal_installation():
installation.set_hostname(archinstall.arguments['hostname'])
- if archinstall.arguments['mirror-region'] != None:
+ if archinstall.arguments['mirror-region'].get("mirror",None)!= None:
installation.set_mirrors(archinstall.arguments['mirror-region']) # Set the mirrors in the installation medium
installation.set_keyboard_language(archinstall.arguments['keyboard-language'])
installation.add_bootloader()