Fix volume free percentage calculation
This commit is contained in:
parent
6f0ae5a6ad
commit
5fb6dc4205
1 changed files with 1 additions and 1 deletions
|
|
@ -308,7 +308,7 @@ def get_volume_usage(use_colors=False):
|
||||||
elif percent > 75:
|
elif percent > 75:
|
||||||
color = 'YELLOW'
|
color = 'YELLOW'
|
||||||
display_str = (
|
display_str = (
|
||||||
f'{free/total:>5.2f}% Free'
|
f'{free/total:>5.2%} Free'
|
||||||
f' ({bytes_to_string(free, 2):>10} / {bytes_to_string(total, 2):>10})'
|
f' ({bytes_to_string(free, 2):>10} / {bytes_to_string(total, 2):>10})'
|
||||||
)
|
)
|
||||||
if use_colors:
|
if use_colors:
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue