216 else: |
216 else: |
217 self.clientType = 'Python3' |
217 self.clientType = 'Python3' |
218 # Change clientType if dependent interpreter not exist anymore |
218 # Change clientType if dependent interpreter not exist anymore |
219 # (maybe deinstalled,...) |
219 # (maybe deinstalled,...) |
220 elif self.clientType == 'Python2' and Preferences.getDebugger( |
220 elif self.clientType == 'Python2' and Preferences.getDebugger( |
221 "PythonInterpreter") == '': |
221 "Python2VirtualEnv") == '': |
222 self.clientType = 'Python3' |
222 self.clientType = 'Python3' |
223 elif self.clientType == 'Python3' and Preferences.getDebugger( |
223 elif self.clientType == 'Python3' and Preferences.getDebugger( |
224 "Python3Interpreter") == '': |
224 "Python3VirtualEnv") == '': |
225 self.clientType = 'Python2' |
225 self.clientType = 'Python2' |
226 |
226 |
227 self.lastClientType = '' |
227 self.lastClientType = '' |
228 self.__autoClearShell = False |
228 self.__autoClearShell = False |
229 |
229 |