From 7d1d38b558a9d4efce3f415884b34e7831288c6c Mon Sep 17 00:00:00 2001 From: codefiles <11915375+codefiles@users.noreply.github.com> Date: Fri, 27 Feb 2026 19:49:23 -0500 Subject: [PATCH] Remove unnecessary post-init --- archinstall/lib/luks.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/archinstall/lib/luks.py b/archinstall/lib/luks.py index 13e5f83a1d..53a531502f 100644 --- a/archinstall/lib/luks.py +++ b/archinstall/lib/luks.py @@ -40,10 +40,6 @@ def erase(self) -> None: worker.poll() worker.write(b'YES\n', line_ending=False) - def __post_init__(self) -> None: - if self.luks_dev_path is None: - raise ValueError('Partition must have a path set') - def __enter__(self) -> None: self.unlock(self.key_file)