Update __init__.py

This commit is contained in:
Leon 2020-03-03 14:48:10 +01:00 committed by GitHub
parent 6928d9b4c8
commit c73b1c8e23
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 0 deletions

View File

@ -169,6 +169,11 @@ class ChromeDriverManager(object):
exe_name = base_.format(".exe")
zip_name = base_.format(".zip")
ver = self.get_release_version_number()
_platform = self.platform
if _platform in ('linux',):
_platform+='64'
if _platform in ('darwin',):
_platform = 'mac64'
if os.path.exists(exe_name):
return exe_name
urlretrieve(