瀏覽代碼

wxGUI: fix debug message syntax ('command' can be list of commands)

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

+ 1 - 1
gui/wxpython/core/render.py

@@ -1152,7 +1152,7 @@ class Map(object):
         self._addLayer(layer, pos)
         
         renderMgr = layer.GetRenderMgr()
-        Debug.msg(1, "Map.AddLayer(): ltype={}, command={}".format(ltype, ' '.join(command)))
+        Debug.msg(1, "Map.AddLayer(): ltype={}, command={}".format(ltype, layer.GetCmd(string=True)))
         if renderMgr:
             if layer.type == 'wms':
                 renderMgr.dataFetched.connect(self.renderMgr.ReportProgress)