Adjusted free_space formatting
This commit is contained in:
parent
b1fa59c32d
commit
964ec1e037
1 changed files with 1 additions and 1 deletions
|
|
@ -355,7 +355,7 @@ def run_bleachbit():
|
||||||
|
|
||||||
def show_disk_usage(disk):
|
def show_disk_usage(disk):
|
||||||
"""Show free and used space for a specified disk."""
|
"""Show free and used space for a specified disk."""
|
||||||
print_standard(disk.device.replace('/', ' '),
|
print_standard('{:5}'.format(disk.device.replace('/', ' ')),
|
||||||
end='', flush=True, timestamp=False)
|
end='', flush=True, timestamp=False)
|
||||||
try:
|
try:
|
||||||
usage = psutil.disk_usage(disk.device)
|
usage = psutil.disk_usage(disk.device)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue