From f47f50d3593273723f9e9f8c1ad9c50c2fdb5ee5 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Sat, 8 Jan 2022 11:51:15 +0530 Subject: [PATCH] ... --- src/calibre/srv/convert.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/calibre/srv/convert.py b/src/calibre/srv/convert.py index 65acc64447..cd2df6568e 100644 --- a/src/calibre/srv/convert.py +++ b/src/calibre/srv/convert.py @@ -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())