Update __init__.py
This commit is contained in:
parent
6928d9b4c8
commit
c73b1c8e23
|
@ -169,6 +169,11 @@ class ChromeDriverManager(object):
|
||||||
exe_name = base_.format(".exe")
|
exe_name = base_.format(".exe")
|
||||||
zip_name = base_.format(".zip")
|
zip_name = base_.format(".zip")
|
||||||
ver = self.get_release_version_number()
|
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):
|
if os.path.exists(exe_name):
|
||||||
return exe_name
|
return exe_name
|
||||||
urlretrieve(
|
urlretrieve(
|
||||||
|
|
Loading…
Reference in New Issue