Преглед изворни кода

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 пре 15 година
родитељ
комит
24b6501a3f
1 измењених фајлова са 2 додато и 0 уклоњено
  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