mirror of https://gitlab.com/baco/winsysinfo.git
Delete diskette drive letters from device list
The device list was generated from the complete uppercase alphabet. Diskette letters A and B doesn't need to be tested, so the new list starts from letter C.
This commit is contained in:
parent
08b94223d3
commit
5721c1b273
|
@ -96,7 +96,7 @@ class SystemInformation:
|
|||
return (mem_status.dwTotalPhys, mem_status.dwAvailPhys)
|
||||
|
||||
def _disk(self):
|
||||
drives = [c + ':' for c in list(string.ascii_uppercase)]
|
||||
drives = [c + ':' for c in list(string.ascii_uppercase[2:])]
|
||||
freeuser = ctypes.c_int64()
|
||||
total = ctypes.c_int64()
|
||||
free = ctypes.c_int64()
|
||||
|
|
Loading…
Reference in New Issue