From e6a9105df44538e032708f49730cf98b42e8b362 Mon Sep 17 00:00:00 2001 From: codefiles <11915375+codefiles@users.noreply.github.com> Date: Wed, 28 May 2025 22:13:07 -0400 Subject: [PATCH] Fix empty password (#3531) --- archinstall/lib/utils/util.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/archinstall/lib/utils/util.py b/archinstall/lib/utils/util.py index 4fed4358..7be56509 100644 --- a/archinstall/lib/utils/util.py +++ b/archinstall/lib/utils/util.py @@ -33,8 +33,9 @@ def get_password( hide_input=True, ).input() - if allow_skip and not result.has_item(): - return None + if allow_skip: + if not result.has_item() or not result.text(): + return None password = Password(plaintext=result.text())