Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions html2print/html2pdf_js/html2pdf.min.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions html2print/html2print.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
from selenium.webdriver.chrome.service import Service
from webdriver_manager.core.os_manager import ChromeType, OperationSystemManager

__version__ = "0.0.16"
__version__ = "0.0.17"

PATH_TO_HTML2PDF_JS = os.path.join(
os.path.dirname(os.path.join(__file__)), "html2pdf_js", "html2pdf.min.js"
Expand Down Expand Up @@ -292,7 +292,7 @@ class Done(Exception):
while True:
logs = driver.get_log("browser") # type: ignore[no-untyped-call]
for entry_ in logs:
if "HTML2PDF4DOC time" in entry_["message"]:
if "[HTML2PDF4DOC] Total time:" in entry_["message"]:
print("success: HTML2PDF completed its job.") # noqa: T201
raise Done
if (datetime.today() - datetime_start).total_seconds() > 60:
Expand Down
2 changes: 1 addition & 1 deletion submodules/html2pdf