mirror of https://github.com/n1nj4sec/pupy.git
drives/windows: psutil does not report device any way, remove it
This commit is contained in:
parent
4c07e74178
commit
0bf46eaf77
|
@ -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 = {}
|
||||
|
||||
|
|
Loading…
Reference in New Issue