Update __init__.py
This commit is contained in:
parent
e5c00010c4
commit
4d253ef037
|
@ -196,6 +196,8 @@ class ChromeDriverManager(object):
|
||||||
with zipfile.ZipFile(zip_name) as zf:
|
with zipfile.ZipFile(zip_name) as zf:
|
||||||
zf.extract(self._exe_name)
|
zf.extract(self._exe_name)
|
||||||
os.remove(zip_name)
|
os.remove(zip_name)
|
||||||
|
if sys.platform != 'win32':
|
||||||
|
os.chmod(self._exe_name, 0o755)
|
||||||
return self._exe_name
|
return self._exe_name
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue