This commit is contained in:
Kovid Goyal 2014-02-11 07:38:05 +05:30
parent 8ff7bf389a
commit e3b7d31a96

View File

@ -146,7 +146,7 @@ class Detect(object):
# rather than failing, write an informative error
# message and the asciized version of the text.
print ('Non-ASCII text detected. You must set your Console\'s font to'
' Lucida Console or Consolas or some other TrueType font to see this text', file=self.stream, end='')
' Lucida Console or Consolas or some other TrueType font to see this text', file=self.stream, end=' -- ')
from calibre.utils.filenames import ascii_text
print (ascii_text(t + text), file=self.stream, end='')
continue