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-09-30 09:25:04 +0000
committerAnton Hvornum <anton.feeds+github@gmail.com>2020-09-30 09:25:04 +0000
commit3cf45bdc031dbf414dbfc9636634ea34107c3694 (patch)
treefad2cb14218d5ae794b3ad29b28cf4622dd565d4
parentfad2c36cd281398c1a59937256530d2d2cde055e (diff)
Fixed a bug where if you selected a region by name, not number. It would bork out.
-rw-r--r--archinstall/lib/user_interaction.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/archinstall/lib/user_interaction.py b/archinstall/lib/user_interaction.py
index c2f8ac38..48364b42 100644
--- a/archinstall/lib/user_interaction.py
+++ b/archinstall/lib/user_interaction.py
@@ -125,7 +125,7 @@ def select_mirror_regions(mirrors, show_top_mirrors=True):
# for instance Sweden (if we know that exists) without having to
# go through the search step.
elif selected_mirror in mirrors:
- selected_mirrors[selected_mirror] = mirrors[mirrors.index(selected_mirror)]
+ selected_mirrors[selected_mirror] = mirrors[selected_mirror]
else:
RequirementError("Selected region does not exist.")