mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-08 02:34:06 -04:00
...
This commit is contained in:
parent
7db8c4df74
commit
5e3b5fc735
@ -494,7 +494,7 @@ def get_removable_drives(debug=False): # {{{
|
|||||||
if drive_type == DRIVE_REMOVABLE or (drive_type == DRIVE_FIXED and 'usbstor' in devpath.lower()):
|
if drive_type == DRIVE_REMOVABLE or (drive_type == DRIVE_FIXED and 'usbstor' in devpath.lower()):
|
||||||
ans[drive_letter] = candidates
|
ans[drive_letter] = candidates
|
||||||
if debug:
|
if debug:
|
||||||
prints('Found volume with device path:', devpath, ' Drive letter:', drive_letter)
|
prints('Found volume with device path:', devpath, ' Drive letter:', drive_letter, 'Is removable:', drive_letter in ans)
|
||||||
return ans
|
return ans
|
||||||
# }}}
|
# }}}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user