Skip to content

Commit

Permalink
Fix a stuuuupid mistake
Browse files Browse the repository at this point in the history
  • Loading branch information
ttimasdf committed Apr 24, 2017
1 parent de6e29c commit 196f5a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lang_integration.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ def run_virtualenv(self, choices, index):
return
(name, directory) = choices[index]
activate_file = os.path.join(directory, "activate_this.py")
ipy = any(os.path.exists(python_executable[:-6]+ipy) for ipy in ["ipython", "ipython.exe"])
ipy = any(os.path.exists(os.path.join(directory, ipy) for ipy in ["ipython", "ipython.exe"])
python_executable = os.path.join(directory, "ipython" if ipy else "python")
path_separator = ":"
if os.name == "nt":
Expand Down

0 comments on commit 196f5a4

Please sign in to comment.