瀏覽代碼

wxGUI/datacatalog: fix g.list for new element names (https://trac.osgeo.org/grass/ticket/2409)

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@63678 15284696-431f-4ddb-bdfa-cd5b030d7da7
Martin Landa 10 年之前
父節點
當前提交
2945e88895
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      gui/wxpython/lmgr/datacatalog.py

+ 1 - 1
gui/wxpython/lmgr/datacatalog.py

@@ -121,7 +121,7 @@ class LocationMapTree(wx.TreeCtrl):
                 self.AppendItem(varloc, mapset)
                 self.AppendItem(varloc, mapset)
             
             
             # get list of all maps in location
             # get list of all maps in location
-            maplist = RunCommand('g.list', flags='mt', type='rast,rast3d,vect', mapset=','.join(mapsets),
+            maplist = RunCommand('g.list', flags='mt', type='raster,raster_3d,vector', mapset=','.join(mapsets),
                                  quiet=True, read=True)
                                  quiet=True, read=True)
             maplist = maplist.splitlines()
             maplist = maplist.splitlines()
             for ml in maplist:
             for ml in maplist: