From 5a93fc20e6f8549a6bf3aa2638ac56d9ebc9beac Mon Sep 17 00:00:00 2001 From: g1879 Date: Thu, 2 Mar 2023 17:15:07 +0800 Subject: [PATCH] 3.2.7 --- DrissionPage/commons/browser.py | 2 +- setup.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/DrissionPage/commons/browser.py b/DrissionPage/commons/browser.py index 8f0e838..f6a592c 100644 --- a/DrissionPage/commons/browser.py +++ b/DrissionPage/commons/browser.py @@ -77,7 +77,7 @@ def get_launch_args(opt): if not has_user_path: port = opt.debugger_address.split(':')[-1] if opt.debugger_address else '0' path = Path(gettempdir()) / 'DrissionPage' / f'userData_{port}' - path.mkdir(parents=False, exist_ok=True) + path.mkdir(parents=True, exist_ok=True) result.add(f'--user-data-dir={path}') result = list(result) diff --git a/setup.py b/setup.py index f60a086..49f78f0 100644 --- a/setup.py +++ b/setup.py @@ -6,7 +6,7 @@ with open("README.md", "r", encoding='utf-8') as fh: setup( name="DrissionPage", - version="3.2.6", + version="3.2.7", author="g1879", author_email="g1879@qq.com", description="Python based web automation tool. It can control the browser and send and receive data packets.",