Example #1
0
 def add_catalog(self, path, title):
     book_id, new_book_added = add_catalog(self.new_api,
                                           path,
                                           title,
                                           dbapi=self)
     if book_id is not None and new_book_added:
         self.data.books_added((book_id, ))
     return book_id
Example #2
0
 def add_catalog(self, path, title):
     book_id, new_book_added = add_catalog(self.new_api, path, title, dbapi=self)
     if book_id is not None and new_book_added:
         self.data.books_added((book_id,))
     return book_id
Example #3
0
 def add_catalog(self, path, title):
     return add_catalog(self.new_api, path, title)
Example #4
0
 def add_catalog(self, path, title):
     book_id = add_catalog(self.new_api, path, title)
     if book_id is not None:
         self.data.books_added((book_id,))
     return book_id
Example #5
0
 def add_catalog(self, path, title):
     book_id = add_catalog(self.new_api, path, title)
     if book_id is not None:
         self.data.books_added((book_id,))
     return book_id