ProjectDjango/Project.py

changeset 10
77b4a30cdbbf
parent 9
8fe581309106
child 11
5eda53fad138
--- a/ProjectDjango/Project.py	Tue Mar 26 16:37:01 2013 +0100
+++ b/ProjectDjango/Project.py	Tue Mar 26 16:50:20 2013 +0100
@@ -903,6 +903,8 @@
                     python = os.path.join(virtualEnv, python)
             else:
                 python = os.path.join(virtualEnv, "bin", python)
+                if not os.path.exists(python):
+                    python = python[:-1]    # omit the version character
         
         return python
     

eric ide

mercurial