Explorar o código

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 %!s(int64=10) %!d(string=hai) anos
pai
achega
c7fc065cf7
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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)