mirror of
git://github.com/kovidgoyal/calibre.git
synced 2025-12-22 06:16:15 +01:00
...
This commit is contained in:
parent
10e28f5d9f
commit
2ae5696144
1 changed files with 1 additions and 1 deletions
|
|
@ -1668,7 +1668,7 @@ def add_formats(self, dest_id, src_books, replace=False):
|
|||
if src_book:
|
||||
fmt = os.path.splitext(src_book)[-1].replace('.', '').upper()
|
||||
with open(src_book, 'rb') as f:
|
||||
self.db.add_format(dest_id, fmt, f, index_is_id=True,
|
||||
self.library_view.model().db.add_format(dest_id, fmt, f, index_is_id=True,
|
||||
notify=False, replace=replace)
|
||||
|
||||
def books_to_merge(self, rows):
|
||||
|
|
|
|||
Loading…
Reference in a new issue