Show More
@@ -718,7 +718,7 b' class InteractiveShell(SingletonConfigurable):' | |||||
718 | # In Cygwin paths like "c:\..." and '\cygdrive\c\...' are possible |
|
718 | # In Cygwin paths like "c:\..." and '\cygdrive\c\...' are possible | |
719 | if p_venv.startswith('\\cygdrive'): |
|
719 | if p_venv.startswith('\\cygdrive'): | |
720 | p_venv = p_venv[11:] |
|
720 | p_venv = p_venv[11:] | |
721 | elif p_venv[1] == ':': |
|
721 | elif len(p_venv) >= 2 and p_venv[1] == ':': | |
722 | p_venv = p_venv[2:] |
|
722 | p_venv = p_venv[2:] | |
723 |
|
723 | |||
724 | if any(p_venv in p for p in paths): |
|
724 | if any(p_venv in p for p in paths): |
General Comments 0
You need to be logged in to leave comments.
Login now