mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
...
This commit is contained in:
parent
eb78a761a9
commit
f47f50d359
@ -109,7 +109,7 @@ def convert_book(path_to_ebook, opf_path, cover_path, output_fmt, recs):
|
||||
status_file = share_open('status', 'wb')
|
||||
|
||||
def notification(percent, msg=''):
|
||||
status_file.write(f'{percent}:{msg}|||\n'.encode('utf-8'))
|
||||
status_file.write(f'{percent}:{msg}|||\n'.encode())
|
||||
status_file.flush()
|
||||
|
||||
output_path = os.path.abspath('output.' + output_fmt.lower())
|
||||
|
Loading…
x
Reference in New Issue
Block a user