mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-07 18:24:30 -04:00
py3: make conversion in the GUI work
This commit is contained in:
parent
5a3678d8c6
commit
99cb0c4417
@ -60,7 +60,7 @@ def convert_single_ebook(parent, db, book_ids, auto_conversion=False, # {{{
|
||||
index_is_id=True)
|
||||
|
||||
out_file = PersistentTemporaryFile('.' + d.output_format)
|
||||
out_file.write(d.output_format)
|
||||
out_file.write(d.output_format.encode('utf-8'))
|
||||
out_file.close()
|
||||
temp_files = [in_file]
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user