mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-07 18:24:30 -04:00
Revert stupid changes.
This commit is contained in:
parent
567ecc4256
commit
bf0659d691
@ -30,7 +30,7 @@ class RTFOutput(OutputFormatPlugin):
|
|||||||
|
|
||||||
out_stream.seek(0)
|
out_stream.seek(0)
|
||||||
out_stream.truncate()
|
out_stream.truncate()
|
||||||
out_stream.write(content.encode(opts.output_encoding, 'replace'))
|
out_stream.write(content.encode('ascii', 'replace'))
|
||||||
|
|
||||||
if close:
|
if close:
|
||||||
out_stream.close()
|
out_stream.close()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user