index : archinstall32 | |
Archlinux32 installer | gitolite user |
summaryrefslogtreecommitdiff |
author | Daniel <blackrabbit256@gmail.com> | 2022-01-01 01:36:05 +1100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-31 15:36:05 +0100 |
commit | 638a05243c7bab7db7449c24a2ab770e581244d0 (patch) | |
tree | 80739b60cd940ce75a6edfafe994b154255b347b /archinstall/lib/user_interaction.py | |
parent | 7f9b7991e902489efb3501a98a7d6998ca15a0a5 (diff) |
-rw-r--r-- | archinstall/lib/user_interaction.py | 10 |
diff --git a/archinstall/lib/user_interaction.py b/archinstall/lib/user_interaction.py index 2314b762..6298db19 100644 --- a/archinstall/lib/user_interaction.py +++ b/archinstall/lib/user_interaction.py @@ -797,13 +797,15 @@ def select_mirror_regions(): :rtype: dict """ - # TODO: Support multiple options and country codes, SE,UK for instance. - mirrors = list_mirrors() - selected_mirror = Menu('Select one of the regions to download packages from', mirrors.keys()).run() + selected_mirror = Menu( + 'Select one of the regions to download packages from', + mirrors.keys(), + multi=True + ).run() if selected_mirror is not None: - return {selected_mirror: mirrors[selected_mirror]} + return {selected: mirrors[selected] for selected in selected_mirror} return {} |