Exemple #1
0
 def add_from_isbn(self, *args):
     from calibre.gui2.dialogs.add_from_isbn import AddFromISBN
     d = AddFromISBN(self.gui)
     if d.exec() == QDialog.DialogCode.Accepted and d.books:
         self.add_isbns(d.books,
                        add_tags=d.set_tags,
                        check_for_existing=d.check_for_existing)
Exemple #2
0
 def add_from_isbn(self, *args):
     from calibre.gui2.dialogs.add_from_isbn import AddFromISBN
     d = AddFromISBN(self.gui)
     if d.exec_() == d.Accepted:
         self.add_isbns(d.books, add_tags=d.set_tags)
Exemple #3
0
 def add_from_isbn(self, *args):
     from calibre.gui2.dialogs.add_from_isbn import AddFromISBN
     d = AddFromISBN(self.gui)
     if d.exec_() == d.Accepted and d.books:
         self.add_isbns(d.books, add_tags=d.set_tags)