From fdb29f4aa267d486bf03eb56e46921e27580c1d7 Mon Sep 17 00:00:00 2001 From: Radostin Stoyanov Date: Sun, 21 Jan 2018 22:52:46 +0000 Subject: [PATCH] activator: Use chromedriver from PATH Use chromedriver from PATH env variable instead of current working directory --- audible-activator.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/audible-activator.py b/audible-activator.py index efde928..350b5e3 100755 --- a/audible-activator.py +++ b/audible-activator.py @@ -57,7 +57,7 @@ def fetch_activation_bytes(username, password, options): if sys.platform == 'win32': chromedriver_path = "chromedriver.exe" else: - chromedriver_path = "./chromedriver" + chromedriver_path = "chromedriver" driver = webdriver.Chrome(chrome_options=opts, executable_path=chromedriver_path)