mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
...
This commit is contained in:
parent
5165b56b41
commit
456171337e
@ -420,9 +420,9 @@ class WAYTEQ(USBMS):
|
|||||||
# Ordered list of supported formats
|
# Ordered list of supported formats
|
||||||
FORMATS = ['epub', 'mobi', 'prc', 'fb2', 'txt', 'pdf', 'html', 'rtf', 'chm', 'djvu', 'doc']
|
FORMATS = ['epub', 'mobi', 'prc', 'fb2', 'txt', 'pdf', 'html', 'rtf', 'chm', 'djvu', 'doc']
|
||||||
|
|
||||||
VENDOR_ID = [0x05e3, 0x0c45]
|
VENDOR_ID = [0x05e3, 0x05e8]
|
||||||
PRODUCT_ID = [0x0726, 0x0184]
|
PRODUCT_ID = [0x0726, 0x0728]
|
||||||
BCD = [0x0222, 0x0100]
|
BCD = [0x0222]
|
||||||
|
|
||||||
EBOOK_DIR_MAIN = 'Documents'
|
EBOOK_DIR_MAIN = 'Documents'
|
||||||
SCAN_FROM_ROOT = True
|
SCAN_FROM_ROOT = True
|
||||||
@ -433,7 +433,7 @@ class WAYTEQ(USBMS):
|
|||||||
|
|
||||||
def get_gui_name(self):
|
def get_gui_name(self):
|
||||||
try:
|
try:
|
||||||
if self.detected_device.idVendor == 0x0c45:
|
if self.detected_device.idVendor == 0x05e8:
|
||||||
return 'SPC Dickens'
|
return 'SPC Dickens'
|
||||||
except Exception:
|
except Exception:
|
||||||
pass
|
pass
|
||||||
|
Loading…
x
Reference in New Issue
Block a user