From 4796999842ce4bdbf160ac3b9eb4b2b116d23fc2 Mon Sep 17 00:00:00 2001 From: g1879 Date: Fri, 20 Nov 2020 17:37:42 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0get=5Fmatch=5Fdriver()?= =?UTF-8?q?=E6=96=B9=E6=B3=95=EF=BC=9B=20easy=5Fset=E6=89=80=E6=9C=89?= =?UTF-8?q?=E6=96=B9=E6=B3=95=E5=A2=9E=E5=8A=A0=E5=8F=AF=E6=8C=87=E5=AE=9A?= =?UTF-8?q?ini=E6=96=87=E4=BB=B6=EF=BC=8C=E5=BE=85=E6=B5=8B=E8=AF=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- DrissionPage/easy_set.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/DrissionPage/easy_set.py b/DrissionPage/easy_set.py index 5bf6aa2..97bc6c1 100644 --- a/DrissionPage/easy_set.py +++ b/DrissionPage/easy_set.py @@ -18,9 +18,9 @@ from DrissionPage.session_page import SessionPage from common import unzip -def show_settings() -> None: +def show_settings(ini_path: str = None) -> None: """打印ini文件内容""" - om = OptionsManager() + om = OptionsManager(ini_path) print('paths:') pprint(om.get_option('paths')) print('\nchrome options:')