From 841bee290b49d189a7a1643f533712806f76a974 Mon Sep 17 00:00:00 2001 From: Noufal Ibrahim Date: Thu, 15 Jun 2017 11:14:00 +0530 Subject: [PATCH] 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. --- 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)