From e8cb84136b05adbf288431c5cae95b2996166b83 Mon Sep 17 00:00:00 2001 From: Ozzie Isaacs Date: Fri, 25 Oct 2024 10:29:41 +0200 Subject: [PATCH] Fix quotes for calibre convert on windows --- cps/tasks/convert.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cps/tasks/convert.py b/cps/tasks/convert.py index 70070be0a..bba519ac0 100644 --- a/cps/tasks/convert.py +++ b/cps/tasks/convert.py @@ -283,9 +283,9 @@ class TaskConvert(CalibreTask): error_message = N_("Calibre failed with error: %(error)s", error=ele) return check, error_message quotes = [1, 2] - quotes_index = 4 + quotes_index = 3 command = [config.config_converterpath, (file_path + format_old_ext), - (file_path + format_new_ext), "-v", "-v"] + (file_path + format_new_ext)] if config.config_embed_metadata: quotes.append([4]) quotes_index = 5