[GRASS-SVN] r40088 - grass/branches/develbranch_6/gui/wxpython/gui_modules

svn_grass at osgeo.org svn_grass at osgeo.org
Sun Dec 20 08:42:13 EST 2009


Author: martinl
Date: 2009-12-20 08:42:13 -0500 (Sun, 20 Dec 2009)
New Revision: 40088

Modified:
   grass/branches/develbranch_6/gui/wxpython/gui_modules/gselect.py
Log:
wxGUI: export part (to fix v.krige)


Modified: grass/branches/develbranch_6/gui/wxpython/gui_modules/gselect.py
===================================================================
--- grass/branches/develbranch_6/gui/wxpython/gui_modules/gselect.py	2009-12-20 13:02:39 UTC (rev 40087)
+++ grass/branches/develbranch_6/gui/wxpython/gui_modules/gselect.py	2009-12-20 13:42:13 UTC (rev 40088)
@@ -29,9 +29,12 @@
 import wx
 import wx.combo
 
+import globalvar
+
+grassPath = os.path.join(globalvar.ETCDIR, "python")
+sys.path.append(grassPath)
 import grass.script as grass
 
-import globalvar
 import gcmd
 import utils
 from preferences import globalSettings as UserSettings



More information about the grass-commit mailing list