##// END OF EJS Templates
Darker
Blazej Michalik -
Show More
@@ -925,7 +925,7 b' class InteractiveShell(SingletonConfigurable):'
925 # In Cygwin paths like "c:\..." and '\cygdrive\c\...' are possible
925 # In Cygwin paths like "c:\..." and '\cygdrive\c\...' are possible
926 if str(p_venv).startswith("\\cygdrive"):
926 if str(p_venv).startswith("\\cygdrive"):
927 p_venv = "C:" / Path(str(p_venv)[11:])
927 p_venv = "C:" / Path(str(p_venv)[11:])
928
928
929 if any(p_venv == p.parents[1] for p in paths):
929 if any(p_venv == p.parents[1] for p in paths):
930 # Our exe is inside or has access to the virtualenv, don't need to do anything.
930 # Our exe is inside or has access to the virtualenv, don't need to do anything.
931 return
931 return
General Comments 0
You need to be logged in to leave comments. Login now