[GRASS-SVN] r53963 - grass/branches/develbranch_6/gui/wxpython

svn_grass at osgeo.org svn_grass at osgeo.org
Wed Nov 21 13:49:26 PST 2012


Author: martinl
Date: 2012-11-21 13:49:25 -0800 (Wed, 21 Nov 2012)
New Revision: 53963

Modified:
   grass/branches/develbranch_6/gui/wxpython/gis_set.py
Log:
fix r53940


Modified: grass/branches/develbranch_6/gui/wxpython/gis_set.py
===================================================================
--- grass/branches/develbranch_6/gui/wxpython/gis_set.py	2012-11-21 21:48:19 UTC (rev 53962)
+++ grass/branches/develbranch_6/gui/wxpython/gis_set.py	2012-11-21 21:49:25 UTC (rev 53963)
@@ -214,7 +214,7 @@
         location = self.GetRCValue("LOCATION_NAME")
         if location == "<UNKNOWN>":
             return
-        if os.path.isdir(os.path.join(self.gisdbase, location)):
+        if not os.path.isdir(os.path.join(self.gisdbase, location)):
             location = None
         
         # list of locations



More information about the grass-commit mailing list