Skip to content

Commit

Permalink
Merge pull request #18 from Fasjeit/main
Browse files Browse the repository at this point in the history
The correct way to get chromedriver path
  • Loading branch information
rzc0d3r committed Oct 13, 2023
2 parents dd1f198 + b2380a1 commit 5a0d61a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions ESET KeyGen.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Version 1.0.8.1 (131023-1557)
VERSION = 'v1.0.8.1 (131023-1557) by rzc0d3r'
# Version 1.0.8.2 (131023-2039)
VERSION = 'v1.0.8.2 (131023-2039) by rzc0d3r'
import modules.chrome_driver_installer as chrome_driver_installer
import modules.logger as logger

Expand Down Expand Up @@ -249,7 +249,7 @@ def getLicenseData(self):
chromedriver_name = 'chromedriver'
if os.path.exists(chromedriver_name):
os.chmod(chromedriver_name, 0o777)
out = check_output([chromedriver_name, "--version"], stderr=PIPE)
out = check_output([os.getcwd()+'/'+chromedriver_name, "--version"], stderr=PIPE)
if out is not None:
current_chromedriver_version = out.decode("utf-8").split(' ')[1]
logger.console_log('Chrome version: {0}'.format(chrome_version), logger.INFO, False)
Expand Down

0 comments on commit 5a0d61a

Please sign in to comment.