minor, just in case update related to the previous commit

This commit is contained in:
Miroslav Stampar 2011-01-04 12:56:55 +00:00
parent 709a7d156b
commit c1dc73d0a1

View File

@ -134,7 +134,8 @@ def decodePage(page, contentEncoding, contentType):
if charset:
kb.pageEncoding = charset
page = getUnicode(page)
else:
if isinstance(page, str):
page = getUnicode(page)
return page