Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/archinstall/lib
diff options
context:
space:
mode:
Diffstat (limited to 'archinstall/lib')
-rw-r--r--archinstall/lib/locale/locale_menu.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/archinstall/lib/locale/locale_menu.py b/archinstall/lib/locale/locale_menu.py
index 75cc1332..db119f20 100644
--- a/archinstall/lib/locale/locale_menu.py
+++ b/archinstall/lib/locale/locale_menu.py
@@ -80,6 +80,9 @@ class LocaleMenu(AbstractSubMenu):
def run(self, allow_reset: bool = True) -> LocaleConfiguration:
super().run(allow_reset=allow_reset)
+ if not self._data_store:
+ return LocaleConfiguration.default()
+
return LocaleConfiguration(
self._data_store['keyboard-layout'],
self._data_store['sys-language'],