|
@@ -754,8 +754,9 @@ def GetSettingsPath():
|
|
|
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)
|