mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-07 10:14:46 -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
|
||||
# sys.stderr.write( msg + ' in ' + file_name + "\n")
|
||||
else:
|
||||
msg = '%s in file %s\n' % (msg, file_name)
|
||||
raise RtfInvalidCodeException(msg)
|
||||
msg = '%s in file %s' % (msg, file_name)
|
||||
print(msg, file=sys.stderr)
|
||||
|
||||
def __return_code(self, num):
|
||||
if num is None:
|
||||
|
Loading…
x
Reference in New Issue
Block a user