From 1330c68084580a3ed42a799c3f846cb78a520269 Mon Sep 17 00:00:00 2001 From: Daemon Coder <11915375+codefiles@users.noreply.github.com> Date: Fri, 5 May 2023 01:47:35 -0400 Subject: Fix `LsblkInfo` size field (#1787) --- archinstall/lib/disk/device_model.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'archinstall/lib') diff --git a/archinstall/lib/disk/device_model.py b/archinstall/lib/disk/device_model.py index 8e26b1d7..d57347b7 100644 --- a/archinstall/lib/disk/device_model.py +++ b/archinstall/lib/disk/device_model.py @@ -851,7 +851,7 @@ class LsblkInfo: name: str = '' path: Path = Path() pkname: str = '' - size: Size = Size(0, Unit.B) + size: Size = field(default_factory=lambda: Size(0, Unit.B)) log_sec: int = 0 pttype: str = '' ptuuid: str = '' -- cgit v1.2.3-70-g09d2