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

svn_grass at osgeo.org svn_grass at osgeo.org
Sat Jun 13 18:50:59 EDT 2009


Author: martinl
Date: 2009-06-13 18:50:59 -0400 (Sat, 13 Jun 2009)
New Revision: 37864

Modified:
   grass/trunk/lib/init/grass.py
Log:
Read GRASS_GUI


Modified: grass/trunk/lib/init/grass.py
===================================================================
--- grass/trunk/lib/init/grass.py	2009-06-13 17:47:36 UTC (rev 37863)
+++ grass/trunk/lib/init/grass.py	2009-06-13 22:50:59 UTC (rev 37864)
@@ -194,7 +194,9 @@
 	if 'GRASS_GUI' not in kv:
 	    # Set the GRASS user interface to the default if needed
 	    grass_gui = default_gui
-
+        else:
+            grass_gui = kv['GRASS_GUI']
+    
     if grass_gui == 'gui':
 	grass_gui = default_gui
 



More information about the grass-commit mailing list