Show More
@@ -924,7 +924,9 b' class InteractiveShell(SingletonConfigurable):' | |||
|
924 | 924 | |
|
925 | 925 | # In Cygwin paths like "c:\..." and '\cygdrive\c\...' are possible |
|
926 | 926 | if str(p_venv).startswith("\\cygdrive"): |
|
927 |
p_venv = |
|
|
927 | p_venv = Path(str(p_venv)) | |
|
928 | drive_name = p_venv.parts[2] | |
|
929 | p_venv = (drive_name + ":/") / Path(*p_venv.parts[3:]) | |
|
928 | 930 | |
|
929 | 931 | if any(p_venv == p.parents[1] for p in paths): |
|
930 | 932 | # Our exe is inside or has access to the virtualenv, don't need to do anything. |
General Comments 0
You need to be logged in to leave comments.
Login now