Skip to content

Commit

Permalink
fix: fix filename error on wkhtml cmd
Browse files Browse the repository at this point in the history
  • Loading branch information
zgqgit committed Mar 5, 2024
1 parent f79d59a commit 8708b66
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bisheng_unstructured/topdf/text2pdf.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ def __init__(self, kwargs={}):
"""

cmd_template3 = """
wkhtmltopdf --disable-javascript --disable-local-file-access --disable-external-links --no-images {0} {1}
wkhtmltopdf --disable-javascript --disable-local-file-access --disable-external-links --no-images "{0}" "{1}"
"""
if os.getenv("WK_LOAD_IMG"):
cmd_template3 = cmd_template3.replace("--no-images", "")
Expand Down

0 comments on commit 8708b66

Please sign in to comment.