Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/archinstall/lib
diff options
context:
space:
mode:
authorDaemon Coder <11915375+codefiles@users.noreply.github.com>2023-05-05 01:47:35 -0400
committerGitHub <noreply@github.com>2023-05-05 07:47:35 +0200
commit1330c68084580a3ed42a799c3f846cb78a520269 (patch)
treec7b0906a0d974755b27d9664b1e3ee3f5ef1d4fd /archinstall/lib
parent15199081e542caf38c9c0f163af764616d9420ef (diff)
Fix `LsblkInfo` size field (#1787)
Diffstat (limited to 'archinstall/lib')
-rw-r--r--archinstall/lib/disk/device_model.py2
1 files changed, 1 insertions, 1 deletions
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 = ''