[GRASS-SVN] r42066 - grass/trunk/gui/wxpython/gui_modules
svn_grass at osgeo.org
svn_grass at osgeo.org
Fri Apr 30 12:56:49 EDT 2010
Author: martinl
Date: 2010-04-30 12:56:48 -0400 (Fri, 30 Apr 2010)
New Revision: 42066
Modified:
grass/trunk/gui/wxpython/gui_modules/globalvar.py
Log:
fix #1046
Modified: grass/trunk/gui/wxpython/gui_modules/globalvar.py
===================================================================
--- grass/trunk/gui/wxpython/gui_modules/globalvar.py 2010-04-30 15:36:04 UTC (rev 42065)
+++ grass/trunk/gui/wxpython/gui_modules/globalvar.py 2010-04-30 16:56:48 UTC (rev 42066)
@@ -22,6 +22,8 @@
import gettext
gettext.install('grasswxpy', os.path.join(os.getenv("GISBASE"), 'locale'), unicode=True)
+grassPath = os.path.join(globalvar.ETCDIR, "python")
+sys.path.append(grassPath)
import grass.script as grass
# wxversion.select() called once at the beginning
More information about the grass-commit
mailing list