mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-05-08 20:35:18 +02:00
...
This commit is contained in:
parent
a4b4e854a1
commit
525a6bc7d1
2 changed files with 1 additions and 4 deletions
|
|
@ -487,4 +487,4 @@ def books_prepared(self, view, job):
|
|||
if ok_paths:
|
||||
from calibre.gui2.add import Adder
|
||||
callback = partial(self._add_from_device_adder, on_card=None, model=view.model())
|
||||
Adder(ok_paths, db=None, parent=self.gui, callback=callback, pool=self.gui.spare_pool())
|
||||
Adder(ok_paths, db=self.gui.current_db, parent=self.gui, callback=callback, pool=self.gui.spare_pool())
|
||||
|
|
|
|||
|
|
@ -430,6 +430,3 @@ def finish(self):
|
|||
@property
|
||||
def number_of_books_added(self):
|
||||
return len(self.added_book_ids)
|
||||
|
||||
# TODO: Test direct add of books to device
|
||||
# TODO: Test adding form device to library
|
||||
|
|
|
|||
Loading…
Reference in a new issue