[GRASS-SVN] r53962 - grass/trunk/gui/wxpython

svn_grass at osgeo.org svn_grass at osgeo.org
Wed Nov 21 13:48:19 PST 2012


Author: martinl
Date: 2012-11-21 13:48:19 -0800 (Wed, 21 Nov 2012)
New Revision: 53962

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


Modified: grass/trunk/gui/wxpython/gis_set.py
===================================================================
--- grass/trunk/gui/wxpython/gis_set.py	2012-11-21 21:25:15 UTC (rev 53961)
+++ grass/trunk/gui/wxpython/gis_set.py	2012-11-21 21:48:19 UTC (rev 53962)
@@ -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