Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rw-r--r--examples/guided.py5
-rw-r--r--examples/swiss.py2
2 files changed, 3 insertions, 4 deletions
diff --git a/examples/guided.py b/examples/guided.py
index b653ea2a..f104b7e3 100644
--- a/examples/guided.py
+++ b/examples/guided.py
@@ -45,9 +45,8 @@ def ask_user_questions():
# Set which region to download packages from during the installation
global_menu.enable('mirror-region')
- if archinstall.arguments.get('advanced', False):
- global_menu.enable('sys-language', True)
- global_menu.enable('sys-encoding', True)
+ global_menu.enable('sys-language')
+ global_menu.enable('sys-encoding')
# Ask which harddrives/block-devices we will install to
# and convert them into archinstall.BlockDevice() objects.
diff --git a/examples/swiss.py b/examples/swiss.py
index 6d357191..9c0d469a 100644
--- a/examples/swiss.py
+++ b/examples/swiss.py
@@ -161,7 +161,7 @@ class SetupMenu(archinstall.GeneralMenu):
self.set_option('archinstall-language',
archinstall.Selector(
_('Select Archinstall language'),
- lambda x: self._select_archinstall_language('English'),
+ lambda x: self._select_archinstall_language(x),
default='English',
enabled=True))
self.set_option('ntp',