diff --git a/python/search.py b/python/search.py index fa5c66b..0dcf56c 100644 --- a/python/search.py +++ b/python/search.py @@ -9,10 +9,10 @@ def search_book_cmd(search_strings, search_description=False): format = '%-13s %-10s %-40s %-30s' for book in books: b_id = book.getid() or '' - title = cut_str(book.title, 40) + title = cut_str(book.title, 40, '*') authors = map(lambda p: p.first_name+' '+p.last_name, book.get_authors()) - authors_str = cut_str(', '.join(authors), 30) + authors_str = cut_str(', '.join(authors), 30, '*') print format % (book.isbn, b_id, title, authors_str) def search_book(search_strings, search_description=False):