[GRASS-SVN] r49466 - grass/trunk/gui/wxpython/psmap

svn_grass at osgeo.org svn_grass at osgeo.org
Thu Dec 1 14:18:28 EST 2011


Author: martinl
Date: 2011-12-01 11:18:27 -0800 (Thu, 01 Dec 2011)
New Revision: 49466

Modified:
   grass/trunk/gui/wxpython/psmap/frame.py
Log:
wxGUI/psmap: define path for standalone app


Modified: grass/trunk/gui/wxpython/psmap/frame.py
===================================================================
--- grass/trunk/gui/wxpython/psmap/frame.py	2011-12-01 19:17:15 UTC (rev 49465)
+++ grass/trunk/gui/wxpython/psmap/frame.py	2011-12-01 19:18:27 UTC (rev 49466)
@@ -35,6 +35,8 @@
 
 import grass.script as grass
 
+if __name__ == "__main__":
+    sys.path.append(os.path.join(os.getenv('GISBASE'), 'etc', 'gui', 'wxpython'))
 from core             import globalvar
 from gui_core.menu    import Menu
 from gui_core.goutput import CmdThread, EVT_CMD_DONE



More information about the grass-commit mailing list