File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -70,8 +70,8 @@ def _is_mbed_volume(volume_string):
70
70
71
71
def _get_cached_mounted_points ():
72
72
"""! Get the volumes present on the system
73
- @return List of mount points and their associated target id
74
- Ex. [{ 'mount_point': 'D:', 'target_id_usb_id ': 'xxxx'}, ...]
73
+ @return List of mount points and their associated volume string
74
+ Ex. [{ 'mount_point': 'D:', 'volume_string ': 'xxxx'}, ...]
75
75
"""
76
76
result = []
77
77
try :
@@ -80,7 +80,7 @@ def _get_cached_mounted_points():
80
80
winreg .HKEY_LOCAL_MACHINE , "SYSTEM\\ MountedDevices"
81
81
)
82
82
for v in _iter_vals (mounted_devices_key ):
83
- # Valid entries have the following format: \DosDevices\D:
83
+ # Valid entries have the following format: \\ DosDevices\ \D:
84
84
if "DosDevices" not in v [0 ]:
85
85
continue
86
86
You can’t perform that action at this time.
0 commit comments