Changeset 10976018a45f…
Parent 5fe1a71fa68b…
by
Changes to one file · Browse files at 10976018a45f Showing diff from parent 5fe1a71fa68b Diff from another changeset...
@@ -96,7 +96,7 @@ unc, rest = os.path.splitunc(drive)
if unc: # All UNC paths (\\host\mount) are considered nonlocal
return True
- letter = os.path.splitdrive(drive)[0]
+ letter = os.path.splitdrive(drive)[0].upper()
_drives, total, _ = win32net.NetUseEnum(None, 1, 0)
for drv in _drives:
if drv['local'] == letter:
|
Loading...