From dadeff6ffefca6fb80c19eaec951dfbd311d42ea Mon Sep 17 00:00:00 2001 From: yangjian Date: Mon, 15 Jun 2020 12:30:57 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8DChromium=E9=85=8D=E7=BD=AE?= =?UTF-8?q?=E5=8F=82=E6=95=B0=E6=97=A0=E6=95=88=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app_doc/report_utils.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app_doc/report_utils.py b/app_doc/report_utils.py index 5a7e41f..89df28c 100644 --- a/app_doc/report_utils.py +++ b/app_doc/report_utils.py @@ -47,6 +47,7 @@ def geneta_js_img(html_path,img_path,types): if settings.CHROMIUM_PATH: browser = await launch( executablePath=r'{}'.format(settings.CHROMIUM_PATH), + args=settings.CHROMIUM_ARGS, headless=True, handleSIGINT=False, handleSIGTERM=False, @@ -84,6 +85,7 @@ def html_to_pdf(html_path,pdf_path): if settings.CHROMIUM_PATH: browser = await launch( executablePath=r'{}'.format(settings.CHROMIUM_PATH), + args=settings.CHROMIUM_ARGS, headless=True, handleSIGINT=False, handleSIGTERM=False,