mirror of
https://github.com/janeczku/calibre-web
synced 2025-01-23 15:36:55 +00:00
Fix wrong quotes on calibre binary call for windows
This commit is contained in:
parent
e3b895755d
commit
a0728b07d0
@ -28,7 +28,7 @@ log = logger.create()
|
|||||||
|
|
||||||
def do_calibre_export(book_id, book_format):
|
def do_calibre_export(book_id, book_format):
|
||||||
try:
|
try:
|
||||||
quotes = [3, 5, 7, 9]
|
quotes = [4, 6]
|
||||||
tmp_dir = get_temp_dir()
|
tmp_dir = get_temp_dir()
|
||||||
calibredb_binarypath = get_calibre_binarypath("calibredb")
|
calibredb_binarypath = get_calibre_binarypath("calibredb")
|
||||||
temp_file_name = str(uuid4())
|
temp_file_name = str(uuid4())
|
||||||
|
@ -255,7 +255,7 @@ class TaskConvert(CalibreTask):
|
|||||||
try:
|
try:
|
||||||
# path_tmp_opf = self._embed_metadata()
|
# path_tmp_opf = self._embed_metadata()
|
||||||
if config.config_embed_metadata:
|
if config.config_embed_metadata:
|
||||||
quotes = [3, 5]
|
quotes = [5]
|
||||||
tmp_dir = get_temp_dir()
|
tmp_dir = get_temp_dir()
|
||||||
calibredb_binarypath = os.path.join(config.config_binariesdir, SUPPORTED_CALIBRE_BINARIES["calibredb"])
|
calibredb_binarypath = os.path.join(config.config_binariesdir, SUPPORTED_CALIBRE_BINARIES["calibredb"])
|
||||||
my_env = os.environ.copy()
|
my_env = os.environ.copy()
|
||||||
|
Loading…
Reference in New Issue
Block a user