mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
...
This commit is contained in:
parent
3372b45451
commit
f0d61aef70
@ -630,7 +630,7 @@ if __name__ == '__main__':
|
|||||||
print('Is connected:', is_usb_device_connected(0x1949, 0x4))
|
print('Is connected:', is_usb_device_connected(0x1949, 0x4))
|
||||||
pprint(get_all_removable_drives())
|
pprint(get_all_removable_drives())
|
||||||
rd = get_removable_drives()
|
rd = get_removable_drives()
|
||||||
pprint(get_removable_drives())
|
pprint(rd)
|
||||||
pprint(get_drive_letters_for_device(0x1949, 0x4))
|
pprint(get_drive_letters_for_device(0x1949, 0x4))
|
||||||
for drive in rd:
|
for drive in rd:
|
||||||
eject_drive(drive)
|
eject_drive(drive)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user