Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWerner Llácer <wllacer@gmail.com>2021-11-08 19:58:11 +0100
committerWerner Llácer <wllacer@gmail.com>2021-11-08 19:58:11 +0100
commit80a406c930df436f712f0327613544f0e177ac91 (patch)
tree95a0e3e780a7b491d6c72a9e59097a8105b258ab
parent6d0c55e5d610abd199c1dc0430576535dab894b7 (diff)
Followup to the previous one. Output of size function is rounded to the first decimal so output doesn't look too cluttered
-rw-r--r--archinstall/lib/disk/blockdevice.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/archinstall/lib/disk/blockdevice.py b/archinstall/lib/disk/blockdevice.py
index 8db52330..2a6d1cc8 100644
--- a/archinstall/lib/disk/blockdevice.py
+++ b/archinstall/lib/disk/blockdevice.py
@@ -154,7 +154,7 @@ class BlockDevice:
return partition.get('uuid', None)
def convert_size_to_gb(self, size):
- return size / GIGA
+ return round(size / GIGA,1)
@property
def size(self):