mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Fix #2566 (Support tpz and azw1 files?)
This commit is contained in:
parent
640f059912
commit
80a7d5ad5f
@ -25,7 +25,7 @@ class DRMError(ValueError):
|
||||
BOOK_EXTENSIONS = ['lrf', 'rar', 'zip', 'rtf', 'lit', 'txt', 'htm', 'xhtm',
|
||||
'html', 'xhtml', 'pdf', 'pdb', 'prc', 'mobi', 'azw', 'doc',
|
||||
'epub', 'fb2', 'djvu', 'lrx', 'cbr', 'cbz', 'oebzip',
|
||||
'rb', 'imp', 'odt', 'chm']
|
||||
'rb', 'imp', 'odt', 'chm', 'tpz', 'azw1']
|
||||
|
||||
class HTMLRenderer(object):
|
||||
|
||||
|
@ -385,7 +385,7 @@ class Main(MainWindow, Ui_MainWindow, DeviceGUI):
|
||||
self.action_view, self.action_save, None, None)
|
||||
QObject.connect(self.library_view,
|
||||
SIGNAL('files_dropped(PyQt_PyObject)'),
|
||||
self.files_dropped)
|
||||
self.files_dropped, Qt.QueuedConnection)
|
||||
for func, target in [
|
||||
('connect_to_search_box', self.search),
|
||||
('connect_to_book_display',
|
||||
|
Loading…
x
Reference in New Issue
Block a user