mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-05-08 17:24:20 +02:00
Fix #3425 (Messages often incorrectly display unicode text)
This commit is contained in:
parent
08e24b835c
commit
5d02ce2db1
1 changed files with 6 additions and 0 deletions
|
|
@ -150,6 +150,12 @@ def convert_bulk_ebook(parent, db, book_ids, out_format=None):
|
|||
if x[0] == 'debug_pipeline':
|
||||
lrecs.remove(x)
|
||||
|
||||
try:
|
||||
dtitle = unicode(mi.title)
|
||||
except:
|
||||
dtitle = repr(mi.title)
|
||||
desc = _('Convert book %d of %d (%s)') % (i + 1, total, dtitle)
|
||||
|
||||
desc = _('Convert book %d of %d (%s)') % (i + 1, total, repr(mi.title))
|
||||
|
||||
args = [in_file, out_file.name, lrecs]
|
||||
|
|
|
|||
Loading…
Reference in a new issue