We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 62e28eb commit 91e3364Copy full SHA for 91e3364
1 file changed
html2print/html2print.py
@@ -19,7 +19,7 @@
19
from selenium.webdriver.chrome.service import Service
20
from webdriver_manager.core.os_manager import ChromeType, OperationSystemManager
21
22
-__version__ = "0.0.16"
+__version__ = "0.0.17"
23
24
PATH_TO_HTML2PDF_JS = os.path.join(
25
os.path.dirname(os.path.join(__file__)), "html2pdf_js", "html2pdf.min.js"
@@ -292,7 +292,7 @@ class Done(Exception):
292
while True:
293
logs = driver.get_log("browser") # type: ignore[no-untyped-call]
294
for entry_ in logs:
295
- if "HTML2PDF4DOC time" in entry_["message"]:
+ if "[HTML2PDF4DOC] Total time:" in entry_["message"]:
296
print("success: HTML2PDF completed its job.") # noqa: T201
297
raise Done
298
if (datetime.today() - datetime_start).total_seconds() > 60:
0 commit comments