RefactoringRope/CodeAssistServer.py

branch
eric7
changeset 392
b9b0a462123d
parent 390
e6848531c902
child 394
b34f5dd3db27
--- a/RefactoringRope/CodeAssistServer.py	Tue Oct 11 12:51:38 2022 +0200
+++ b/RefactoringRope/CodeAssistServer.py	Mon Oct 17 08:37:10 2022 +0200
@@ -764,6 +764,8 @@
                     venvName = ""
             if venvName:
                 interpreter = venvManager.getVirtualenvInterpreter(venvName)
+                if not interpreter:
+                    interpreter = Globals.getPythonExecutable()
                 execPath = venvManager.getVirtualenvExecPath(venvName)
 
                 # build a suitable environment

eric ide

mercurial