Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
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'