Explorar o código

wxGUI: fix UpdateMapsets()

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@46598 15284696-431f-4ddb-bdfa-cd5b030d7da7
Martin Landa %!s(int64=14) %!d(string=hai) anos
pai
achega
1cc57b27b0
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      gui/wxpython/gis_set.py

+ 1 - 1
gui/wxpython/gis_set.py

@@ -599,7 +599,7 @@ class GRASSStartup(wx.Frame):
                                   location = locationName,
                                   gisdbase = self.gisdbase)
             
-            if not ret:
+            if ret == '':
                 raise gcmd.GError(_("No mapsets available in location <%s>") % locationName)
             
             for line in ret.splitlines():