[GRASS-SVN] r40800 - grass-addons/gui/wxpython/data_catalog

svn_grass at osgeo.org svn_grass at osgeo.org
Wed Feb 3 14:19:46 EST 2010


Author: rashadkm
Date: 2010-02-03 14:19:46 -0500 (Wed, 03 Feb 2010)
New Revision: 40800

Modified:
   grass-addons/gui/wxpython/data_catalog/mapdisp_window.py
Log:
fixed mapdisp_window

Modified: grass-addons/gui/wxpython/data_catalog/mapdisp_window.py
===================================================================
--- grass-addons/gui/wxpython/data_catalog/mapdisp_window.py	2010-02-03 19:10:50 UTC (rev 40799)
+++ grass-addons/gui/wxpython/data_catalog/mapdisp_window.py	2010-02-03 19:19:46 UTC (rev 40800)
@@ -24,7 +24,14 @@
 import tempfile
 
 import wx
+gbase = os.getenv("GISBASE") 
+pypath = os.path.join(gbase,'etc','wxpython','gui_modules')
+sys.path.append(pypath)
 
+pypath = os.path.join(gbase,'etc','wxpython')
+sys.path.append(pypath)
+
+
 import grass.script as grass
 
 import dbm



More information about the grass-commit mailing list