From f18a88927bd31b49e6e426071d3b881e74ecc4d6 Mon Sep 17 00:00:00 2001 From: Anton Hvornum Date: Wed, 9 Feb 2022 14:53:08 +0100 Subject: [PATCH] using debug --- archinstall/lib/luks.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/archinstall/lib/luks.py b/archinstall/lib/luks.py index 5ad0130b..16ef9554 100644 --- a/archinstall/lib/luks.py +++ b/archinstall/lib/luks.py @@ -107,7 +107,7 @@ class luks2: pw_given = False while cryptworker.is_alive(): - if bytes(f'Enter passphrase for {partition.path}', 'UTF-8') in cryptworker._trace_log and pw_given is False: + if bytes(f'Enter passphrase for {partition.path}', 'UTF-8') in cryptworker and pw_given is False: cryptworker.write(password) pw_given = True @@ -186,7 +186,7 @@ class luks2: pw_given = False while cryptworker.is_alive(): - if bytes(f'Enter passphrase for {partition.path}', 'UTF-8') in cryptworker._trace_log and pw_given is False: + if bytes(f'Enter passphrase for {partition.path}', 'UTF-8') in cryptworker and pw_given is False: cryptworker.write(password) pw_given = True