Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorYash Tripathi <tripathiyash97@gmail.com>2021-05-23 11:56:19 +0530
committerGitHub <noreply@github.com>2021-05-23 11:56:19 +0530
commit87955e0ba659c46a42d7a48955054b47874b38e2 (patch)
tree68bbeae38f5c93e781ac05b2763f945aa41f33e5 /examples
parent194d45ad2dd9ae0bc051204810cfc5c38a22d33d (diff)
fixed pulling mirror-region from config
Diffstat (limited to 'examples')
-rw-r--r--examples/guided.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/guided.py b/examples/guided.py
index c6f40ac7..31d11396 100644
--- a/examples/guided.py
+++ b/examples/guided.py
@@ -446,6 +446,7 @@ else:
else:
archinstall.arguments['profile'] = None
if archinstall.arguments.get('mirror-region', None) is not None:
- archinstall.arguments['mirror-region'] = {selected_region: archinstall.list_mirrors()[archinstall.arguments.get('mirror-region', None)]}
+ selected_region = archinstall.arguments.get('mirror-region', None)
+ archinstall.arguments['mirror-region'] = {selected_region: archinstall.list_mirrors()[selected_region]}
perform_installation_steps()