def remove_book(bookname): logger.debug("Enter remove book func") book = Tnovel(bookname, dbfile=dbfilename) book.remove_book(author)