mirror of
git://github.com/kovidgoyal/calibre.git
synced 2025-12-21 21:36:10 +01:00
Revert stupid changes.
This commit is contained in:
parent
567ecc4256
commit
bf0659d691
1 changed files with 1 additions and 1 deletions
|
|
@ -30,7 +30,7 @@ def convert(self, oeb_book, output_path, input_plugin, opts, log):
|
|||
|
||||
out_stream.seek(0)
|
||||
out_stream.truncate()
|
||||
out_stream.write(content.encode(opts.output_encoding, 'replace'))
|
||||
out_stream.write(content.encode('ascii', 'replace'))
|
||||
|
||||
if close:
|
||||
out_stream.close()
|
||||
|
|
|
|||
Loading…
Reference in a new issue