mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
...
This commit is contained in:
parent
eac14fc0cf
commit
79796fe071
@ -775,7 +775,7 @@ def get_drive_letters_for_device(usbdev, storage_number_map=None, debug=False):
|
|||||||
ans['readonly_drives'].add(dl)
|
ans['readonly_drives'].add(dl)
|
||||||
except WindowsError as err:
|
except WindowsError as err:
|
||||||
if debug:
|
if debug:
|
||||||
prints('Failed to get readonly status for drive: %s' % dl)
|
prints('Failed to get readonly status for drive: %s with error: %s' % (dl, as_unicode(err)))
|
||||||
|
|
||||||
return ans
|
return ans
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user