From 1de8deced9bcd5a2b80621f4e01303e661f55bb8 Mon Sep 17 00:00:00 2001 From: Michael Herrmann Date: Wed, 5 Jul 2023 16:26:33 +0200 Subject: [PATCH] Fix error in start_chrome --- docs/conf.py | 2 +- helium/_impl/chromedriver.py | 2 +- setup.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/conf.py b/docs/conf.py index 7d1a488..dcd7674 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -12,7 +12,7 @@ author = 'Michael Herrmann' # Also update ../setup.py when you change this: -release = '3.2.0' +release = '3.2.1' # -- General configuration --------------------------------------------------- diff --git a/helium/_impl/chromedriver.py b/helium/_impl/chromedriver.py index 8292b6d..ed51ba6 100644 --- a/helium/_impl/chromedriver.py +++ b/helium/_impl/chromedriver.py @@ -15,7 +15,7 @@ def install_matching_chromedriver(): cached_chrome_version.write(chrome_version) return join( cache_directory, - 'chromedriver' + '.exe' if platform.system() == 'Windows' else '' + 'chromedriver' + ('.exe' if platform.system() == 'Windows' else '') ) def _get_cache_directory(): diff --git a/setup.py b/setup.py index c0c2eec..c19b01f 100644 --- a/setup.py +++ b/setup.py @@ -3,7 +3,7 @@ setup( name = 'helium', # Also update docs/conf.py when you change this: - version = '3.2.0', + version = '3.2.1', author = 'Michael Herrmann', author_email = 'michael+removethisifyouarehuman@herrmann.io', description = 'Lighter browser automation based on Selenium.',