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
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
def add_catalog(self, path, title): return add_catalog(self.new_api, path, title)
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