From 3cf45bdc031dbf414dbfc9636634ea34107c3694 Mon Sep 17 00:00:00 2001 From: Anton Hvornum Date: Wed, 30 Sep 2020 09:25:04 +0000 Subject: Fixed a bug where if you selected a region by name, not number. It would bork out. --- archinstall/lib/user_interaction.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'archinstall/lib') 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.") -- cgit v1.2.3-70-g09d2