Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Hvornum <anton.feeds@gmail.com>2021-05-11 11:48:44 +0200
committerAnton Hvornum <anton.feeds@gmail.com>2021-05-11 11:48:44 +0200
commite6c28a94ee42dad37cc69f8ebd3e6edebc33b938 (patch)
tree978e01b9759f17085c20ac0e7d146d71f4c8f8c0
parent4b6e312cfa73974304d7b52c25aa7d165e4d61a7 (diff)
Fixed line-ending issue after using generic_multi_select()
-rw-r--r--archinstall/lib/user_interaction.py2
-rw-r--r--examples/guided.py2
2 files changed, 3 insertions, 1 deletions
diff --git a/archinstall/lib/user_interaction.py b/archinstall/lib/user_interaction.py
index 8eaf753e..ab95909f 100644
--- a/archinstall/lib/user_interaction.py
+++ b/archinstall/lib/user_interaction.py
@@ -146,6 +146,8 @@ def generic_multi_select(options, text="Select one or more of the options above
else:
selected_options.append(selected_option)
+ sys.stdout.write('\n')
+ sys.stdout.flush()
return selected_options
diff --git a/examples/guided.py b/examples/guided.py
index 06b6bc13..9e56aa44 100644
--- a/examples/guided.py
+++ b/examples/guided.py
@@ -8,7 +8,7 @@ if archinstall.arguments.get('help'):
exit(0)
# For support reasons, we'll log the disk layout pre installation to match against post-installation layout
-archinstall.log(f"Disk states before installing: {archinstall.disk_layouts()}", level=archinstall.LOG_LEVELS.Debug)
+archinstall.log(f"Disk states before installing: {archinstall.disk_layouts()}", level=logging.DEBUG)
def ask_user_questions():
"""