mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Fix #3425 (Messages often incorrectly display unicode text)
This commit is contained in:
parent
cca1e605dc
commit
f0d3fe56b4
@ -55,7 +55,11 @@ def convert_single_ebook(parent, db, book_ids, auto_conversion=False, out_format
|
|||||||
out_file.close()
|
out_file.close()
|
||||||
temp_files = []
|
temp_files = []
|
||||||
|
|
||||||
desc = _('Convert book %d of %d (%s)') % (i + 1, total, repr(mi.title))
|
try:
|
||||||
|
dtitle = unicode(mi.title)
|
||||||
|
except:
|
||||||
|
dtitle = repr(mi.title)
|
||||||
|
desc = _('Convert book %d of %d (%s)') % (i + 1, total, dtitle)
|
||||||
|
|
||||||
recs = cPickle.loads(d.recommendations)
|
recs = cPickle.loads(d.recommendations)
|
||||||
if d.opf_file is not None:
|
if d.opf_file is not None:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user