Explorar o código

fix https://trac.osgeo.org/grass/ticket/1046

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@42066 15284696-431f-4ddb-bdfa-cd5b030d7da7
Martin Landa %!s(int64=15) %!d(string=hai) anos
pai
achega
24b6501a3f
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      gui/wxpython/gui_modules/globalvar.py

+ 2 - 0
gui/wxpython/gui_modules/globalvar.py

@@ -22,6 +22,8 @@ import locale
 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