Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorAnton Hvornum <anton@hvornum.se>2021-05-22 21:00:59 +0200
committerAnton Hvornum <anton@hvornum.se>2021-05-22 21:00:59 +0200
commit9ce4370fc72463685e25cabfd3340c92dad276a7 (patch)
tree42a6d38d24edbbbe2c0398aa7930e1327c497935 /examples
parenta9efdac61581844e53c80d214ba88b370c2d7ee6 (diff)
Fix issue from language selection.
Diffstat (limited to 'examples')
-rw-r--r--examples/guided.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/guided.py b/examples/guided.py
index a25f1b3b..cbf30eb3 100644
--- a/examples/guided.py
+++ b/examples/guided.py
@@ -56,9 +56,9 @@ def ask_user_questions():
archinstall.arguments['sys-encoding'] = input("Enter a valid system default encoding for your OS, (Default: utf-8): ").strip()
archinstall.log("Keep in mind that if you want multiple locales, post configuration is required.", fg="yellow")
- if not archinstall.arguments['sys-language']:
+ if not archinstall.arguments.get('sys-language', None):
archinstall.arguments['sys-language'] = 'en_US'
- if not archinstall.arguments['sys-encoding']:
+ if not archinstall.arguments.get('sys-encoding', None):
archinstall.arguments['sys-encoding'] = 'utf-8'