From 1131551c47eec13383b9303904d5d2353bb96e81 Mon Sep 17 00:00:00 2001 From: codefiles <11915375+codefiles@users.noreply.github.com> Date: Wed, 28 May 2025 19:16:34 -0400 Subject: [PATCH] Fix empty password --- 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 4fed4358d7..7be5650989 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())