Skip to content

Commit 604beca

Browse files
author
John Lyu
committed
bring back crash-dumps-dir
1 parent 0bc4c0e commit 604beca

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

dataframe_image/_browser_pdf.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,13 +82,14 @@ async def main(file_name, p):
8282

8383
def get_launch_args():
8484
# temp_dir = TemporaryDirectory()
85+
temp_dir_name = os.path.abspath(".")
8586
args = [
8687
"--headless",
8788
"--enable-logging",
8889
"--disable-gpu",
8990
"--run-all-compositor-stages-before-draw",
9091
"--remote-allow-origins=*",
91-
# f"--crash-dumps-dir={temp_dir.name}",
92+
f"--crash-dumps-dir={temp_dir_name}",
9293
"about:blank",
9394
]
9495
if (

0 commit comments

Comments
 (0)