Merge pull request #1439 from ultrafunkamsterdam/ultrafunkamsterdam-patch-1

fix using older driver binary when present in directory
This commit is contained in:
Leon 2023-08-08 01:02:12 +02:00 committed by GitHub
commit 5edd9a71ca
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -116,7 +116,7 @@ class Patcher(object):
# # -1 being a skip value used later in this block # # -1 being a skip value used later in this block
# #
p = pathlib.Path(self.data_path) p = pathlib.Path(self.data_path)
if self.user_multiprocs: if self.user_multi_procs:
with Lock(): with Lock():
files = list(p.rglob("*chromedriver*?")) files = list(p.rglob("*chromedriver*?"))
for file in files: for file in files: