[GRASS-SVN] r37036 - grass/trunk/gui/wxpython

svn_grass at osgeo.org svn_grass at osgeo.org
Thu May 7 06:23:49 EDT 2009


Author: martinl
Date: 2009-05-07 06:23:49 -0400 (Thu, 07 May 2009)
New Revision: 37036

Modified:
   grass/trunk/gui/wxpython/wxgui.py
Log:
wxGUI: set grass path
       (merge from devbr6, r37032)


Modified: grass/trunk/gui/wxpython/wxgui.py
===================================================================
--- grass/trunk/gui/wxpython/wxgui.py	2009-05-07 10:18:43 UTC (rev 37035)
+++ grass/trunk/gui/wxpython/wxgui.py	2009-05-07 10:23:49 UTC (rev 37036)
@@ -64,6 +64,8 @@
 import wx.lib.flatnotebook as FN
 from wx.lib.wordwrap import wordwrap
 
+grassPath = os.path.join(globalvar.ETCDIR, "python")
+sys.path.append(grassPath)
 import grass
 
 import gui_modules.utils as utils



More information about the grass-commit mailing list