From 00ae3e2193e6f30bd360a67471d4019580cfe35f Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Thu, 30 Nov 2006 02:07:52 +0000 Subject: [PATCH] Fix unicode problem in getting list of books --- libprs500/communicate.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libprs500/communicate.py b/libprs500/communicate.py index c64fa618d6..280a886838 100755 --- a/libprs500/communicate.py +++ b/libprs500/communicate.py @@ -74,8 +74,8 @@ class FindBooks(ContentHandler): dict.__init__(self, src) if not self.has_key("author") or len(self["author"].rstrip()) == 0: self["author"] = u"Unknown" - self["title"] = unicode(self["title"].strip()) - self["author"] = unicode(self["author"]) + self["title"] = self["title"].strip() + self["author"] = self["author"] def __repr__(self): return self["title"] + " by " + self["author"] + " at " + self["path"]