Skip to content

Commit 378accb

Browse files
committed
Fix python-environment-exists-p
Previous version was accidentally working.
1 parent 45d7019 commit 378accb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

python-environment.el

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ For reason, see `python-environment-run-block'"
153153
(defun python-environment-exists-p (&optional root)
154154
"Return non-`nil' if virtualenv at ROOT exists.
155155
See `python-environment-make' for how ROOT is interpreted."
156-
(let ((bin (python-environment-bin root)))
156+
(let ((bin (python-environment-bin "python" root)))
157157
(and bin (file-exists-p bin))))
158158

159159
(defun python-environment--existing (root &rest paths)

0 commit comments

Comments
 (0)