Followup to the previous one. Output of size function is rounded to the first decimal so output doesn't look too cluttered
This commit is contained in:
parent
6d0c55e5d6
commit
80a406c930
|
|
@ -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):
|
||||
|
|
|
|||
Loading…
Reference in New Issue