From 166438cde2e78e2841f59d23a532ff9717f3aa5b Mon Sep 17 00:00:00 2001 From: UltrafunkAmsterdam Date: Sun, 5 Feb 2023 15:14:39 +0100 Subject: [PATCH] fix for #1035 --- undetected_chromedriver/patcher.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/undetected_chromedriver/patcher.py b/undetected_chromedriver/patcher.py index aa5a6b7..22396d2 100644 --- a/undetected_chromedriver/patcher.py +++ b/undetected_chromedriver/patcher.py @@ -80,10 +80,10 @@ class Patcher(object): self.zip_path = os.path.join(self.data_path, prefix) - # if not executable_path: - # self.executable_path = os.path.abspath( - # os.path.join(".", self.executable_path) - # ) + if not executable_path: + self.executable_path = os.path.abspath( + os.path.join(".", self.executable_path) + ) self._custom_exe_path = False