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
08e24b835c
commit
5d02ce2db1
@ -150,6 +150,12 @@ def convert_bulk_ebook(parent, db, book_ids, out_format=None):
|
|||||||
if x[0] == 'debug_pipeline':
|
if x[0] == 'debug_pipeline':
|
||||||
lrecs.remove(x)
|
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))
|
desc = _('Convert book %d of %d (%s)') % (i + 1, total, repr(mi.title))
|
||||||
|
|
||||||
args = [in_file, out_file.name, lrecs]
|
args = [in_file, out_file.name, lrecs]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user