From e6c28a94ee42dad37cc69f8ebd3e6edebc33b938 Mon Sep 17 00:00:00 2001 From: Anton Hvornum Date: Tue, 11 May 2021 11:48:44 +0200 Subject: Fixed line-ending issue after using generic_multi_select() --- archinstall/lib/user_interaction.py | 2 ++ examples/guided.py | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) 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(): """ -- cgit v1.2.3-70-g09d2