mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-08 02:34:06 -04:00
...
This commit is contained in:
parent
22287ed1aa
commit
3af8ad01e6
@ -669,8 +669,7 @@ def devinst_from_device_number(drive_letter, device_number):
|
|||||||
return devinfo.DevInst
|
return devinfo.DevInst
|
||||||
# }}}
|
# }}}
|
||||||
|
|
||||||
|
def develop(vendor_id=0x1949, product_id=0x4, bcd=None, do_eject=False): # {{{
|
||||||
def develop(vendor_id=0x1949, product_id=0x4, bcd=None, do_eject=False):
|
|
||||||
from pprint import pprint
|
from pprint import pprint
|
||||||
pprint(get_usb_devices())
|
pprint(get_usb_devices())
|
||||||
print()
|
print()
|
||||||
@ -692,3 +691,4 @@ if __name__ == '__main__':
|
|||||||
else:
|
else:
|
||||||
vendor_id, product_id, bcd = 0x1949, 0x4, 0x100
|
vendor_id, product_id, bcd = 0x1949, 0x4, 0x100
|
||||||
develop(vendor_id, product_id, (bcd,))
|
develop(vendor_id, product_id, (bcd,))
|
||||||
|
# }}}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user