Browse Source

fix https://trac.osgeo.org/grass/changeset/53940

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@53962 15284696-431f-4ddb-bdfa-cd5b030d7da7
Martin Landa 12 years ago
parent
commit
e9ddef0df0
1 changed files with 1 additions and 1 deletions
  1. 1 1
      gui/wxpython/gis_set.py

+ 1 - 1
gui/wxpython/gis_set.py

@@ -214,7 +214,7 @@ class GRASSStartup(wx.Frame):
         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