--- a/eric6/Project/DebuggerPropertiesDialog.py Sat Jun 20 17:36:20 2020 +0200 +++ b/eric6/Project/DebuggerPropertiesDialog.py Sun Jun 21 18:26:12 2020 +0200 @@ -68,9 +68,7 @@ venvIndex = max(0, self.venvComboBox.findText( self.project.debugProperties["VIRTUALENV"])) else: - if self.project.pdata["PROGLANGUAGE"] == "Python2": - venvName = Preferences.getDebugger("Python2VirtualEnv") - elif self.project.pdata["PROGLANGUAGE"] == "Python3": + if self.project.pdata["PROGLANGUAGE"] == "Python3": venvName = Preferences.getDebugger("Python3VirtualEnv") else: venvName = "" @@ -86,8 +84,7 @@ self.project.debugProperties["DEBUGCLIENT"], toNative=False) else: - if self.project.pdata["PROGLANGUAGE"] in ["Python", "Python2", - "Python3"]: + if self.project.pdata["PROGLANGUAGE"] == "Python3": debugClient = os.path.join( getConfig('ericDir'), "DebugClients", "Python", "DebugClient.py") @@ -145,8 +142,7 @@ self.debugClientPicker.text(toNative=False) ) if not self.project.debugProperties["DEBUGCLIENT"]: - if self.project.pdata["PROGLANGUAGE"] in ["Python", "Python2", - "Python3"]: + if self.project.pdata["PROGLANGUAGE"] == "Python3": debugClient = os.path.join( getConfig('ericDir'), "DebugClients", "Python", "DebugClient.py")