修复set_paths()的一个小bug

This commit is contained in:
g1879 2020-11-23 22:57:48 +08:00
parent 4aa071b10f
commit 20bc6f5516

View File

@ -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: