mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-08 18:54:09 -04:00
Fix converting RTF files with debug pipeline not working
This commit is contained in:
parent
031756c4bc
commit
e501fa8d86
@ -552,8 +552,8 @@ class ParseRtf:
|
|||||||
pass
|
pass
|
||||||
# sys.stderr.write( msg + ' in ' + file_name + "\n")
|
# sys.stderr.write( msg + ' in ' + file_name + "\n")
|
||||||
else:
|
else:
|
||||||
msg = '%s in file %s\n' % (msg, file_name)
|
msg = '%s in file %s' % (msg, file_name)
|
||||||
raise RtfInvalidCodeException(msg)
|
print(msg, file=sys.stderr)
|
||||||
|
|
||||||
def __return_code(self, num):
|
def __return_code(self, num):
|
||||||
if num is None:
|
if num is None:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user