drives/windows: psutil does not report device any way, remove it

This commit is contained in:
Oleksii Shevchuk 2019-11-15 11:33:33 +02:00
parent 4c07e74178
commit 0bf46eaf77
1 changed files with 1 additions and 2 deletions

View File

@ -173,7 +173,6 @@ class Drives(PupyModule):
for drive in drives:
formatted_drives.append({
'DEV': drive['device'],
'MP': drive['mountpoint'],
'FS': drive['fstype'],
'OPTS': drive['opts'],
@ -185,7 +184,7 @@ class Drives(PupyModule):
) if ('used' in drive and 'total' in drive) else '?'
})
parts.append(Table(formatted_drives, ['DEV', 'MP', 'FS', 'OPTS', 'USED']))
parts.append(Table(formatted_drives, ['MP', 'FS', 'OPTS', 'USED']))
providers = {}