diff --git a/src/plugins/BookReport.py b/src/plugins/BookReport.py index 352e38bf7..7c27f35f4 100644 --- a/src/plugins/BookReport.py +++ b/src/plugins/BookReport.py @@ -1182,6 +1182,10 @@ def cl_report(database, name, category, options_str_dict): # Exit here if show option was given if clr.show: return + + if not clr.options_dict.has_key('bookname'): + print "Please Specify a book name" + return book_list = BookList('books.xml', database) book_name = clr.options_dict['bookname']