mirror of
https://github.com/inAudible-NG/audible-activator.git
synced 2024-11-18 03:18:57 +01:00
Makes path relative
Using the ./ at the beginning forces the program to look in the current directly for the driver. It's much more portable to simply rely on the PATH variable.
This commit is contained in:
parent
36ec7f0cd2
commit
841bee290b
@ -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