Fix isbndb.exe unicode error on windows.

This commit is contained in:
Kovid Goyal 2008-07-30 16:39:39 -07:00
parent a05d1b3614
commit 8eb9b269e4

View File

@ -140,7 +140,7 @@ def main(args=sys.argv):
return 1 return 1
for book in create_books(opts, args): for book in create_books(opts, args):
print unicode(book) print unicode(book).encode('utf-8')
return 0 return 0