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:
authorDaniel Girtler <blackrabbit256@gmail.com>2022-09-06 16:31:08 +1000
committerGitHub <noreply@github.com>2022-09-06 08:31:08 +0200
commit4dcd5e684f9461145c5b8656b1a91f99ace26b27 (patch)
tree118fa5e1d49e8ce53b2f7c71627dd2b9e4457e30 /examples/swiss.py
parent24d478d037dd24dd8e05f580e8ee5e4f5f53ad03 (diff)
Move deserialization into init (#1456)
Co-authored-by: Daniel Girtler <girtler.daniel@gmail.com>
Diffstat (limited to 'examples/swiss.py')
-rw-r--r--examples/swiss.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/swiss.py b/examples/swiss.py
index 5d40dc68..da45cd18 100644
--- a/examples/swiss.py
+++ b/examples/swiss.py
@@ -164,7 +164,7 @@ class SetupMenu(archinstall.GeneralMenu):
_('Archinstall language'),
lambda x: self._select_archinstall_language(x),
display_func=lambda x: x.display_name,
- default=self.translation_handler.get_language('en'),
+ default=self.translation_handler.get_language_by_abbr('en'),
enabled=True
)
)