mirror of
https://github.com/inAudible-NG/audible-activator.git
synced 2024-11-18 03:18:57 +01:00
Fix for "Message: 'chromedriver' executable needs to be in PATH. Please
see https://sites.google.com/a/chromium.org/chromedriver/home" error on non-Windows OS's.
This commit is contained in:
parent
4384495043
commit
daeb41cda0
@ -57,7 +57,7 @@ def fetch_activation_bytes(username, password, options):
|
|||||||
if sys.platform == 'win32':
|
if sys.platform == 'win32':
|
||||||
chromedriver_path = "chromedriver.exe"
|
chromedriver_path = "chromedriver.exe"
|
||||||
else:
|
else:
|
||||||
chromedriver_path = "./chromedriver"
|
chromedriver_path = "chromedriver"
|
||||||
|
|
||||||
driver = webdriver.Chrome(chrome_options=opts,
|
driver = webdriver.Chrome(chrome_options=opts,
|
||||||
executable_path=chromedriver_path)
|
executable_path=chromedriver_path)
|
||||||
|
Loading…
Reference in New Issue
Block a user