mirror of
https://gitee.com/g1879/DrissionPage.git
synced 2024-12-05 05:28:43 +08:00
修复set_paths()的一个小bug
This commit is contained in:
parent
4aa071b10f
commit
20bc6f5516
@ -53,6 +53,9 @@ def set_paths(driver_path: str = None,
|
||||
om = OptionsManager(ini_path)
|
||||
|
||||
def format_path(path: str) -> str:
|
||||
if not path:
|
||||
return ''
|
||||
|
||||
return str(path).replace('/', '\\')
|
||||
|
||||
if driver_path is not None:
|
||||
|
Loading…
Reference in New Issue
Block a user