Update __init__.py
This commit is contained in:
parent
5225881799
commit
1a1ba7350b
|
@ -852,5 +852,7 @@ def find_chrome_executable():
|
|||
):
|
||||
candidates.add(os.sep.join((item, subitem, "chrome.exe")))
|
||||
for candidate in candidates:
|
||||
logger.debug('checking if %s exists and is executable' % condidate)
|
||||
if os.path.exists(candidate) and os.access(candidate, os.X_OK):
|
||||
logger.debug('found! using %s' % candidate)
|
||||
return os.path.normpath(candidate)
|
||||
|
|
Loading…
Reference in New Issue