def add_news(self, path, arg): book_id = add_news(self.new_api, path, arg, dbapi=self) if book_id is not None: self.data.books_added((book_id, )) return book_id
def add_news(self, path, arg): return add_news(self.new_api, path, arg)
def add_news(self, path, arg): book_id = add_news(self.new_api, path, arg, dbapi=self) if book_id is not None: self.data.books_added((book_id,)) return book_id
def add_news(self, path, arg): book_id = add_news(self.new_api, path, arg) self.data.books_added((book_id,)) return book_id