[GRASS-SVN] r37879 - grass/trunk/lib/init

svn_grass at osgeo.org svn_grass at osgeo.org
Sun Jun 14 14:28:15 EDT 2009


Author: martinl
Date: 2009-06-14 14:28:15 -0400 (Sun, 14 Jun 2009)
New Revision: 37879

Modified:
   grass/trunk/lib/init/grass.py
Log:
fix start_gui


Modified: grass/trunk/lib/init/grass.py
===================================================================
--- grass/trunk/lib/init/grass.py	2009-06-14 03:37:51 UTC (rev 37878)
+++ grass/trunk/lib/init/grass.py	2009-06-14 18:28:15 UTC (rev 37879)
@@ -591,7 +591,8 @@
     
     # Check for gui interface
     if grass_gui == "wxpython":
-	call([gfile("etc", "wxpython", "wxgui.py")])
+	call([os.getenv('GRASS_PYTHON'),
+              gfile("etc", "wxpython", "wxgui.py")])
 
 def clear_screen():
     if windows:



More information about the grass-commit mailing list