mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
...
This commit is contained in:
parent
8ff7bf389a
commit
e3b7d31a96
@ -146,7 +146,7 @@ class Detect(object):
|
|||||||
# rather than failing, write an informative error
|
# rather than failing, write an informative error
|
||||||
# message and the asciized version of the text.
|
# message and the asciized version of the text.
|
||||||
print ('Non-ASCII text detected. You must set your Console\'s font to'
|
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
|
from calibre.utils.filenames import ascii_text
|
||||||
print (ascii_text(t + text), file=self.stream, end='')
|
print (ascii_text(t + text), file=self.stream, end='')
|
||||||
continue
|
continue
|
||||||
|
Loading…
x
Reference in New Issue
Block a user