Skip to content

Commit 84202e1

Browse files
committed
le-python.el (lispy--python-poetry-name): Update
1 parent 98643a2 commit 84202e1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

le-python.el

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -296,6 +296,7 @@ it at one time."
296296
(defun lispy--python-poetry-name ()
297297
(let ((pyproject (expand-file-name "pyproject.toml" (counsel-locate-git-root))))
298298
(and (file-exists-p pyproject)
299+
(not (equal python-shell-interpreter "python"))
299300
(with-current-buffer (find-file-noselect pyproject)
300301
(goto-char (point-min))
301302
(when (re-search-forward "\\[tool.poetry\\]\nname *= *\"\\([^\"]+\\)\"" nil t)

0 commit comments

Comments
 (0)