Bläddra i källkod

fix start_gui

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@37879 15284696-431f-4ddb-bdfa-cd5b030d7da7
Martin Landa 16 år sedan
förälder
incheckning
56514de56c
1 ändrade filer med 2 tillägg och 1 borttagningar
  1. 2 1
      lib/init/grass.py

+ 2 - 1
lib/init/grass.py

@@ -591,7 +591,8 @@ def start_gui():
     
     # 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: