Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/examples/swiss.py
diff options
context:
space:
mode:
Diffstat (limited to 'examples/swiss.py')
-rw-r--r--examples/swiss.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/examples/swiss.py b/examples/swiss.py
index 9f3cf9dd..f60ff60f 100644
--- a/examples/swiss.py
+++ b/examples/swiss.py
@@ -156,26 +156,26 @@ class SetupMenu(archinstall.GeneralMenu):
self.set_option('archinstall-language',
archinstall.Selector(
_('Select Archinstall language'),
- lambda: self._select_archinstall_language('English'),
+ lambda x: self._select_archinstall_language('English'),
default='English',
enabled=True))
self.set_option('ntp',
archinstall.Selector(
'Activate NTP',
- lambda: select_activate_NTP(),
+ lambda x: select_activate_NTP(),
default='Y',
enabled=True))
self.set_option('mode',
archinstall.Selector(
'Excution mode',
- lambda: select_mode(),
+ lambda x : select_mode(),
default='full',
enabled=True))
for item in ['LC_ALL','LC_CTYPE','LC_NUMERIC','LC_TIME','LC_MESSAGES','LC_COLLATE']:
self.set_option(item,
archinstall.Selector(
f'{get_locale_mode_text(item)} locale',
- lambda item=item: select_installed_locale(item), # the parmeter is needed for the lambda in the loop
+ lambda x,item=item: select_installed_locale(item), # the parmeter is needed for the lambda in the loop
enabled=True,
dependencies_not=['LC_ALL'] if item != 'LC_ALL' else []))
self.option('LC_ALL').set_enabled(True)