mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-31 14:33:54 -04:00
Fix the folder device to change the USB codes from ints to lists.
This commit is contained in:
parent
c0645635ec
commit
2b699deac6
@ -18,9 +18,9 @@ class FOLDER_DEVICE_FOR_CONFIG(USBMS):
|
|||||||
supported_platforms = ['windows', 'osx', 'linux']
|
supported_platforms = ['windows', 'osx', 'linux']
|
||||||
FORMATS = ['epub', 'fb2', 'mobi', 'azw', 'lrf', 'tcr', 'pmlz', 'lit',
|
FORMATS = ['epub', 'fb2', 'mobi', 'azw', 'lrf', 'tcr', 'pmlz', 'lit',
|
||||||
'rtf', 'rb', 'pdf', 'oeb', 'txt', 'pdb', 'prc']
|
'rtf', 'rb', 'pdf', 'oeb', 'txt', 'pdb', 'prc']
|
||||||
VENDOR_ID = 0xffff
|
VENDOR_ID = [0xffff]
|
||||||
PRODUCT_ID = 0xffff
|
PRODUCT_ID = [0xffff]
|
||||||
BCD = 0xffff
|
BCD = [0xffff]
|
||||||
DEVICE_PLUGBOARD_NAME = 'FOLDER_DEVICE'
|
DEVICE_PLUGBOARD_NAME = 'FOLDER_DEVICE'
|
||||||
|
|
||||||
|
|
||||||
@ -34,9 +34,9 @@ class FOLDER_DEVICE(USBMS):
|
|||||||
supported_platforms = ['windows', 'osx', 'linux']
|
supported_platforms = ['windows', 'osx', 'linux']
|
||||||
FORMATS = FOLDER_DEVICE_FOR_CONFIG.FORMATS
|
FORMATS = FOLDER_DEVICE_FOR_CONFIG.FORMATS
|
||||||
|
|
||||||
VENDOR_ID = 0xffff
|
VENDOR_ID = [0xffff]
|
||||||
PRODUCT_ID = 0xffff
|
PRODUCT_ID = [0xffff]
|
||||||
BCD = 0xffff
|
BCD = [0xffff]
|
||||||
DEVICE_PLUGBOARD_NAME = 'FOLDER_DEVICE'
|
DEVICE_PLUGBOARD_NAME = 'FOLDER_DEVICE'
|
||||||
|
|
||||||
THUMBNAIL_HEIGHT = 68 # Height for thumbnails on device
|
THUMBNAIL_HEIGHT = 68 # Height for thumbnails on device
|
||||||
|
Loading…
x
Reference in New Issue
Block a user