Skip to content

Commit

Permalink
fix for tox/linting error
Browse files Browse the repository at this point in the history
  • Loading branch information
stevetracvc committed Aug 14, 2023
1 parent 4ee2ae6 commit 7de1fba
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions py/selenium/webdriver/common/selenium_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,9 @@ def get_binary() -> Path:

path = Path(__file__).parent.joinpath(directory, file)

if not path.is_file() and os.environ['CONDA_PREFIX']:
if not path.is_file() and os.environ["CONDA_PREFIX"]:
# conda has a separate package selenium-manager, installs in bin
path = Path(os.path.join(os.environ['CONDA_PREFIX'], 'bin', file))
path = Path(os.path.join(os.environ["CONDA_PREFIX"], "bin", file))
logger.debug(f"Conda environment detected, using `{path}`")
if not path.is_file():
raise WebDriverException(f"Unable to obtain working Selenium Manager binary; {path}")
Expand Down

0 comments on commit 7de1fba

Please sign in to comment.