Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 94240ce

Browse files
committed
Darker
1 parent 6f4501c commit 94240ce

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

IPython/core/interactiveshell.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -925,7 +925,7 @@ def init_virtualenv(self):
925925
# In Cygwin paths like "c:\..." and '\cygdrive\c\...' are possible
926926
if str(p_venv).startswith("\\cygdrive"):
927927
p_venv = "C:" / Path(str(p_venv)[11:])
928-
928+
929929
if any(p_venv == p.parents[1] for p in paths):
930930
# Our exe is inside or has access to the virtualenv, don't need to do anything.
931931
return

0 commit comments

Comments
 (0)