[GRASS-SVN] r37032 - grass/branches/develbranch_6/gui/wxpython

svn_grass at osgeo.org svn_grass at osgeo.org
Thu May 7 05:55:27 EDT 2009


Author: martinl
Date: 2009-05-07 05:55:27 -0400 (Thu, 07 May 2009)
New Revision: 37032

Modified:
   grass/branches/develbranch_6/gui/wxpython/wxgui.py
Log:
wxGUI: set grass path


Modified: grass/branches/develbranch_6/gui/wxpython/wxgui.py
===================================================================
--- grass/branches/develbranch_6/gui/wxpython/wxgui.py	2009-05-07 09:53:37 UTC (rev 37031)
+++ grass/branches/develbranch_6/gui/wxpython/wxgui.py	2009-05-07 09:55:27 UTC (rev 37032)
@@ -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