[GRASS-SVN] r47955 - grass/branches/develbranch_6/gui/wxpython/gui_modules

svn_grass at osgeo.org svn_grass at osgeo.org
Mon Aug 29 15:02:41 EDT 2011


Author: mmetz
Date: 2011-08-29 12:02:41 -0700 (Mon, 29 Aug 2011)
New Revision: 47955

Modified:
   grass/branches/develbranch_6/gui/wxpython/gui_modules/utils.py
Log:
wxGUI: update location of GISRC file

Modified: grass/branches/develbranch_6/gui/wxpython/gui_modules/utils.py
===================================================================
--- grass/branches/develbranch_6/gui/wxpython/gui_modules/utils.py	2011-08-29 19:01:59 UTC (rev 47954)
+++ grass/branches/develbranch_6/gui/wxpython/gui_modules/utils.py	2011-08-29 19:02:41 UTC (rev 47955)
@@ -759,7 +759,9 @@
     
     verFd.close()
     
+    # keep location of settings files rc and wx in sync with
+    # lib/init/init.sh and init.bat
     if sys.platform == 'win32':
-        return os.path.join(os.getenv('APPDATA'), '.grass%d' % version)
+        return os.path.join(os.getenv('APPDATA'), 'grass%d' % version)
     
     return os.path.join(os.getenv('HOME'), '.grass%d' % version)



More information about the grass-commit mailing list