index : archinstall32 | |
Archlinux32 installer | gitolite user |
summaryrefslogtreecommitdiff |
author | Werner Llácer <wllacer@gmail.com> | 2022-02-28 15:02:39 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-28 15:02:39 +0100 |
commit | f06aabb4d4a50d3a8ab7c07bef8390f72b091293 (patch) | |
tree | 7b079611baeb58bdf0feb9b78a009ef0ee20623e /examples | |
parent | 391699497d0c15e7eb6a63a1369209f42f311b2c (diff) |
-rw-r--r-- | examples/swiss.py | 8 |
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) |