Skip to content

Commit

Permalink
Merge branch 'master' into toml-docs-update
Browse files Browse the repository at this point in the history
  • Loading branch information
uranusjr authored Mar 26, 2019
2 parents 5c8e00a + ffd5784 commit ebe89b2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
File renamed without changes.
3 changes: 2 additions & 1 deletion pipenv/cli/command.py
Original file line number Diff line number Diff line change
Expand Up @@ -553,7 +553,7 @@ def run_open(state, module, *args, **kwargs):
EDITOR=atom pipenv open requests
"""
from ..core import which, ensure_project
from ..core import which, ensure_project, inline_activate_virtual_environment

# Ensure that virtualenv is available.
ensure_project(
Expand All @@ -573,6 +573,7 @@ def run_open(state, module, *args, **kwargs):
else:
p = c.out.strip().rstrip("cdo")
echo(crayons.normal("Opening {0!r} in your EDITOR.".format(p), bold=True))
inline_activate_virtual_environment()
edit(filename=p)
return 0

Expand Down

0 comments on commit ebe89b2

Please sign in to comment.