Skip to content

Commit

Permalink
Merge pull request #41 from AlJohri/patch-1
Browse files Browse the repository at this point in the history
use ASDF_DIR env var to test if ASDF is installed
  • Loading branch information
techalchemy authored Nov 19, 2018
2 parents 1fffc0f + 70363bc commit dd75de8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pythonfinder/environment.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
PYENV_INSTALLED = bool(os.environ.get("PYENV_SHELL")) or bool(
os.environ.get("PYENV_ROOT")
)
ASDF_INSTALLED = bool(os.environ.get("ASDF_DATA_DIR"))
ASDF_INSTALLED = bool(os.environ.get("ASDF_DIR"))
PYENV_ROOT = os.path.expanduser(
os.path.expandvars(os.environ.get("PYENV_ROOT", "~/.pyenv"))
)
Expand Down

0 comments on commit dd75de8

Please sign in to comment.