src/eric7/Project/Project.py

branch
eric7
changeset 9644
9875d5f11cbf
parent 9640
d10c17b89372
child 9646
ab5678db972f
--- a/src/eric7/Project/Project.py	Fri Dec 23 11:35:54 2022 +0100
+++ b/src/eric7/Project/Project.py	Fri Dec 23 11:36:26 2022 +0100
@@ -7025,9 +7025,8 @@
                 #       site-packages
                 self.__installProjectIntoEnvironment()
 
-        if (
+        if environmentPath and not self.__venvConfiguration["interpreter"].startswith(
             environmentPath
-            and not self.__venvConfiguration["interpreter"].startswith(environmentPath)
         ):
             self.__configureEnvironment(environmentPath)
 

eric ide

mercurial