1
0
mirror of https://github.com/janeczku/calibre-web synced 2024-12-21 23:50:30 +00:00

Fix quotes for calibre convert on windows

This commit is contained in:
Ozzie Isaacs 2024-10-25 10:29:41 +02:00
parent 8a3409e911
commit e8cb84136b

View File

@ -283,9 +283,9 @@ class TaskConvert(CalibreTask):
error_message = N_("Calibre failed with error: %(error)s", error=ele) error_message = N_("Calibre failed with error: %(error)s", error=ele)
return check, error_message return check, error_message
quotes = [1, 2] quotes = [1, 2]
quotes_index = 4 quotes_index = 3
command = [config.config_converterpath, (file_path + format_old_ext), 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: if config.config_embed_metadata:
quotes.append([4]) quotes.append([4])
quotes_index = 5 quotes_index = 5