Skip to content

Commit 362634f

Browse files
authored
Update pdf.py
1 parent 25439a7 commit 362634f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

jupyter_book/pdf.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ async def _html_to_pdf(html_file, pdf_file):
5151
# Waiting for networkidle seems to let mathjax render
5252
page.on("console", lambda msg: print(f"Console: {msg.type}: {msg.text}"))
5353
await page.goto(f"file:///{html_file}", timeout=100000)
54-
await page.wait_for_load_state('networkidle', timeout=100000)
54+
await page.wait_for_load_state('networkidle')
5555
# Give it *some* margins to make it look a little prettier
5656
# I just made these up
5757
page_margins = {"left": "0in", "right": "0in", "top": ".5in", "bottom": ".5in"}

0 commit comments

Comments
 (0)