[GRASS-SVN] r47950 - grass/trunk/gui/wxpython/gui_modules

svn_grass at osgeo.org svn_grass at osgeo.org
Mon Aug 29 14:33:26 EDT 2011


Author: mmetz
Date: 2011-08-29 11:33:26 -0700 (Mon, 29 Aug 2011)
New Revision: 47950

Modified:
   grass/trunk/gui/wxpython/gui_modules/utils.py
Log:
wxGUI: fix grass_config_dir

Modified: grass/trunk/gui/wxpython/gui_modules/utils.py
===================================================================
--- grass/trunk/gui/wxpython/gui_modules/utils.py	2011-08-29 18:32:44 UTC (rev 47949)
+++ grass/trunk/gui/wxpython/gui_modules/utils.py	2011-08-29 18:33:26 UTC (rev 47950)
@@ -754,8 +754,9 @@
         sys.exit(_("ERROR: Unable to determine GRASS version. Details: %s") % e)
     
     verFd.close()
-    
+
+    # keep location of settings files rc and wx in sync with lib/init/grass.py
     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