diff --git a/src/calibre/utils/terminal.py b/src/calibre/utils/terminal.py index f04615351d..75658148b2 100644 --- a/src/calibre/utils/terminal.py +++ b/src/calibre/utils/terminal.py @@ -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