mirror of
https://github.com/inAudible-NG/audible-activator.git
synced 2025-07-07 11:47:32 +02: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:
@ -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)
|
||||||
|
Reference in New Issue
Block a user