mirror of
git://github.com/kovidgoyal/calibre.git
synced 2025-12-23 21:24:44 +01:00
...
This commit is contained in:
parent
9266cfb0a5
commit
46ec597489
3 changed files with 3 additions and 2 deletions
|
|
@ -26,7 +26,7 @@ class PRS505(CLI, Device):
|
|||
PRODUCT_ID = [0x031e] #: Product Id for the PRS-505
|
||||
BCD = [0x229, 0x1000] #: Needed to disambiguate 505 and 700 on linux
|
||||
|
||||
VENDOR_NAME = 'SONY'
|
||||
VENDOR_NAME = 'SONY'
|
||||
WINDOWS_MAIN_MEM = 'PRS-505'
|
||||
WINDOWS_CARD_A_MEM = ['PRS-505/UC:MS', 'PRS-505/CE:MS']
|
||||
WINDOWS_CARD_B_MEM = ['PRS-505/UC:SD', 'PRS-505/CE:SD']
|
||||
|
|
|
|||
|
|
@ -23,7 +23,7 @@ class DRMError(ValueError):
|
|||
pass
|
||||
|
||||
BOOK_EXTENSIONS = ['lrf', 'rar', 'zip', 'rtf', 'lit', 'txt', 'htm', 'xhtm',
|
||||
'html', 'xhtml', 'pdf', 'prc', 'mobi', 'azw', 'doc',
|
||||
'html', 'xhtml', 'pdf', 'pdb', 'prc', 'mobi', 'azw', 'doc',
|
||||
'epub', 'fb2', 'djvu', 'lrx', 'cbr', 'cbz', 'oebzip',
|
||||
'rb', 'imp', 'odt']
|
||||
|
||||
|
|
|
|||
|
|
@ -49,4 +49,5 @@ def set_value_handler(self, g, val):
|
|||
if idx < 0:
|
||||
idx = 0
|
||||
g.setCurrentIndex(0)
|
||||
return True
|
||||
return False
|
||||
|
|
|
|||
Loading…
Reference in a new issue