Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorDaniel Girtler <blackrabbit256@gmail.com>2022-05-09 20:02:48 +1000
committerGitHub <noreply@github.com>2022-05-09 12:02:48 +0200
commit0fa52a5424e28ed62ef84bdc92868bbfc434e015 (patch)
tree4b88e7799319aa9489f7e16beedf5517b6feba34 /examples
parent20ffebac50478554a7582de5e5c1d8b4504ea8be (diff)
Introduce ctrl+c and other bug fixes (#1152)
* Intergrate ctrl+c * stash * Update * Fix profile reset * flake8 Co-authored-by: Daniel Girtler <girtler.daniel@gmail.com>
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',