Skip to content

Commit

Permalink
Fix typo leading to virtualenv de-activation
Browse files Browse the repository at this point in the history
  • Loading branch information
galaunay committed Feb 2, 2020
1 parent c879ae8 commit 46eb5a6
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions elpy-rpc.el
Original file line number Diff line number Diff line change
Expand Up @@ -284,8 +284,7 @@ During the execution of BODY the following variables are available:
(quit nil))
(unless same-venv
(if venv-was-activated
(pyvenv-activate (directory-file-name
current-environment))
(pyvenv-activate venv-was-activated)
(pyvenv-deactivate)))
(when venv-err
(error venv-err))
Expand Down

0 comments on commit 46eb5a6

Please sign in to comment.