Skip to content

Commit 0142f4f

Browse files
Merge pull request #218 from 1sadiqsa0/master
Update windows.py documentation
2 parents fb0aca7 + ba3e4ed commit 0142f4f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/mbed_os_tools/detect/windows.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -70,8 +70,8 @@ def _is_mbed_volume(volume_string):
7070

7171
def _get_cached_mounted_points():
7272
"""! 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'}, ...]
7575
"""
7676
result = []
7777
try:
@@ -80,7 +80,7 @@ def _get_cached_mounted_points():
8080
winreg.HKEY_LOCAL_MACHINE, "SYSTEM\\MountedDevices"
8181
)
8282
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:
8484
if "DosDevices" not in v[0]:
8585
continue
8686

0 commit comments

Comments
 (0)