104 if "{0}.venv{0}".format(os.sep) not in defaultPy: |
104 if "{0}.venv{0}".format(os.sep) not in defaultPy: |
105 # only check for a non-embedded environment |
105 # only check for a non-embedded environment |
106 found = False |
106 found = False |
107 for venvName in self.__virtualEnvironments: |
107 for venvName in self.__virtualEnvironments: |
108 if os.path.samefile( |
108 if os.path.samefile( |
109 defaultPy, self.__virtualEnvironments[venvName]["interpreter"] |
109 defaultPy, self.__virtualEnvironments[venvName].interpreter |
110 ): |
110 ): |
111 found = True |
111 found = True |
112 break |
112 break |
113 if not found: |
113 if not found: |
114 # add an environment entry for the default interpreter |
114 # add an environment entry for the default interpreter |