Пример #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)
Пример #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)
Пример #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)