From 3f8c9a2bd6f9db5a695e23b75eb688a93a64ec6f Mon Sep 17 00:00:00 2001 From: Brian Matherly Date: Wed, 12 Mar 2008 02:51:16 +0000 Subject: [PATCH] 0001888: Traceback when trying to delete a book report with non-ascii characters in the name. svn: r10279 --- src/plugins/BookReport.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/BookReport.py b/src/plugins/BookReport.py index 5222be3ac..352e38bf7 100644 --- a/src/plugins/BookReport.py +++ b/src/plugins/BookReport.py @@ -643,7 +643,7 @@ class BookListDisplay: if not the_iter: return data = self.blist.get_data(the_iter, [0]) - self.booklist.delete_book(data[0]) + self.booklist.delete_book(unicode(data[0])) self.blist.remove(the_iter) self.top.run()